public interface SharedLibraryLifeCycle
LifeCycle
interface of the shared library.Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_LOGGER_NAME |
static String |
FRACTAL_SRV_ITF_NAME
Name of the server interface of the Fractal component associated to the JBI shared library life cycle
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getRegisteredComponents()
get the list of the registered components.
|
SharedLibraryBean |
getSharedLibraryBean() |
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 |
unLoadSharedLibrary()
Uninstall the jbi shared library.
|
void |
unregisterComponent(String componentName)
Unregister a component if it is referenced by this Shared Library.
|
static final String COMPONENT_LOGGER_NAME
static final String FRACTAL_SRV_ITF_NAME
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()
SharedLibraryBean getSharedLibraryBean()
void loadSharedLibrary() throws org.ow2.petals.basisapi.exception.PetalsException
org.ow2.petals.basisapi.exception.PetalsException
- the component is already installedvoid unLoadSharedLibrary()
void registerComponent(String componentName)
componentName
- void unregisterComponent(String componentName)
componentName
- Copyright © 2005-2016 Linagora. All Rights Reserved.