|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RegisteredResource
A resource that's been registered in the OSGi controller.
Data can be either an input stream or a dictionary.
Registered resources are processed by a ResourceTransformer
.
Method Summary | |
---|---|
Dictionary<String,Object> |
getDictionary()
Return this resource's dictionary. |
String |
getDigest()
Return this resource's digest. |
String |
getEntityId()
Return the identifier of the OSGi "entity" that this resource represents, for example "bundle:SID" where SID is the bundle's symbolic ID, or "config:PID" where PID is config's PID. |
InputStream |
getInputStream()
Return an input stream with the data of this resource. |
int |
getPriority()
Return the priority of this resource. |
String |
getScheme()
Return the scheme from where the artifact is orginated. |
String |
getType()
Return the type of this resource. |
String |
getURL()
Return this data's url. |
Method Detail |
---|
String getScheme()
String getURL()
getScheme()
followed by a colon, followed by a unique identifier of
the resource within the providers space..
String getType()
InputStream getInputStream() throws IOException
IOException
Dictionary<String,Object> getDictionary()
String getDigest()
int getPriority()
String getEntityId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |