|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ungoverned.oscar.OSGiLibrarySource
public class 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()
LibrarySourceThis 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 LibrarySourcepublic void close()
LibrarySourceThis 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
LibrarySourceReturns a file system path to the specified library.
getPath in interface LibrarySourcename - 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 | ||||||||