|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ungoverned.oscar.OSGiLibrarySource
Constructor Summary | |
OSGiLibrarySource(BundleCache cache,
long bundleId,
int revision,
java.lang.String os,
java.lang.String processor,
LibraryInfo[] libraries)
|
Method Summary | |
void |
close()
This method de-initializes the library source. |
java.lang.String |
getPath(java.lang.String name)
Returns a file system path to the specified library. |
void |
open()
This method initializes the library source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OSGiLibrarySource(BundleCache cache, long bundleId, int revision, java.lang.String os, java.lang.String processor, LibraryInfo[] libraries)
Method Detail |
public void open()
LibrarySource
This method initializes the library source. It is called when the associated module is added to the ModuleManager. It is acceptable for implementations to ignore duplicate calls to this method if the library source is already opened.
open
in interface LibrarySource
public void close()
LibrarySource
This method de-initializes the library source. It is called when the associated module is removed from the ModuleManager or when the module is reset by the ModuleManager.
close
in interface LibrarySource
public java.lang.String getPath(java.lang.String name) throws java.lang.IllegalStateException
LibrarySource
Returns a file system path to the specified library.
getPath
in interface LibrarySource
name
- the name of the library that is being requested.
java.lang.IllegalStateException
- if the resource source has not
been opened.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |