|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SharedLibraryLifeCycle
The LifeCycle interface of the shared library.
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getRegisteredComponents()
get the list of the registered components. |
java.lang.String |
getState()
Get the state |
void |
init(org.ow2.petals.jbi.descriptor.original.generated.Jbi.SharedLibrary sl,
java.net.URL[] baseUrls,
boolean useParentFirst)
Initialization of sharedLibraryLifeCycle. |
boolean |
isLoaded()
Test the installation flag. |
void |
loadSharedLibrary()
Install the jbi shared library. |
void |
registerComponent(java.lang.String componentName)
Register a component which uses this Shared Library. |
void |
start()
Start of the Shared Library lifecycle. |
void |
stop()
Stop of the shared library lifecycle. |
void |
unLoadSharedLibrary()
Uninstall the jbi shared library. |
void |
unregisterComponent(java.lang.String componentName)
Unregister a component if it is referenced by this Shared Library. |
| Method Detail |
|---|
void init(org.ow2.petals.jbi.descriptor.original.generated.Jbi.SharedLibrary sl,
java.net.URL[] baseUrls,
boolean useParentFirst)
sl - the shared librarybaseUrls - the base urlsuseParentFirst - use parent firstboolean isLoaded()
java.lang.String getState()
void loadSharedLibrary()
throws org.ow2.petals.kernel.api.server.PetalsException
org.ow2.petals.kernel.api.server.PetalsException - the component is already installedvoid unLoadSharedLibrary()
void start()
void registerComponent(java.lang.String componentName)
componentName - void unregisterComponent(java.lang.String componentName)
componentName - java.util.List<java.lang.String> getRegisteredComponents()
void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||