|
||||||||||
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.
Field Summary | |
---|---|
static String |
COMPONENT_LOGGER_NAME
|
Method Summary | |
---|---|
List<String> |
getRegisteredComponents()
get the list of the registered components. |
String |
getState()
Get the state |
void |
init(org.ow2.petals.jbi.descriptor.original.generated.Jbi.SharedLibrary sl,
URL[] baseUrls,
boolean useParentFirst)
Initialization of sharedLibraryLifeCycle. |
boolean |
isLoaded()
Test the installation flag. |
void |
loadSharedLibrary()
Install the jbi shared library. |
void |
registerComponent(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(String componentName)
Unregister a component if it is referenced by this Shared Library. |
Field Detail |
---|
static final String COMPONENT_LOGGER_NAME
Method Detail |
---|
void init(org.ow2.petals.jbi.descriptor.original.generated.Jbi.SharedLibrary sl, URL[] baseUrls, boolean useParentFirst)
sl
- the shared librarybaseUrls
- the base urlsuseParentFirst
- use parent firstboolean isLoaded()
String getState()
void loadSharedLibrary() throws org.ow2.petals.basisapi.exception.PetalsException
org.ow2.petals.basisapi.exception.PetalsException
- the component is already installedvoid unLoadSharedLibrary()
void start()
void registerComponent(String componentName)
componentName
- void unregisterComponent(String componentName)
componentName
- List<String> getRegisteredComponents()
void stop()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |