|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.kernel.internal.ContainerImplBase
This class provides a basic implementation of the ComponentContainer interface. the majority of the information such as how container references are stored are implemented by the subclass
| Constructor Summary | |
ContainerImplBase()
|
|
| Method Summary | |
abstract void |
addComponent(ExpressoComponent newComponent)
To register the component for control by the Component Manager. |
void |
destroyContainer()
Called when the container is to be destroyed |
abstract Map |
getChildComponents()
Retrieves a list of instances of all contained ExpressoComponents. |
Containable |
getContainerComponent()
Return the 'wrapped' container ExpressoComponent. |
ComponentContainer |
getParentContainer()
Return the parent container |
abstract void |
installComponent(ExpressoComponent newComponent,
InstallationOptions installOptions,
InstallLog log)
Install a component into the system. |
abstract boolean |
isComponentExists(String componentName)
Query the container to see if a particular service name is installed in the system |
abstract ExpressoComponent |
locateComponent(String componentName)
Locates an Expresso Service for use by a client. |
abstract void |
removeComponent(String componentName)
Removes a component from this container. |
void |
setContainerComponent(Containable newComponent)
Sets the nested component. |
void |
setParentContainer(ComponentContainer newParent)
Set the parent container of this container |
abstract void |
uninstallComponent(String componentName,
InstallationOptions installOptions,
InstallLog log)
Uninstalls the component. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ContainerImplBase()
| Method Detail |
public abstract ExpressoComponent locateComponent(String componentName)
locateComponent in interface ComponentContainercomponentName - the name of the service to locate.
IllegalArgumentException - if the service cannot be found.
IllegalStateException - if the service exists, but is not in a
'runnable' state due to some configuration error or other unforeseen
issue.public abstract boolean isComponentExists(String componentName)
isComponentExists in interface ComponentContainercomponentName - the name of the component to query for.
public abstract void addComponent(ExpressoComponent newComponent)
addComponent in interface ComponentContainernewComponent - the component to installpublic abstract void removeComponent(String componentName)
removeComponent in interface ComponentContainercomponentName - The name of the component to remove.
public abstract void installComponent(ExpressoComponent newComponent,
InstallationOptions installOptions,
InstallLog log)
installable then it shall be installed. After that, the component
is added.
installComponent in interface ComponentContainernewComponent - An instance of the component to install.log - a Logger-like interface to a component tha records the process
of the installation including any errors, etc.installOptions - the installation options
public abstract void uninstallComponent(String componentName,
InstallationOptions installOptions,
InstallLog log)
installable then it shall be uninstalled. After that, it shall
be removed.
uninstallComponent in interface ComponentContainercomponentName - the name of the component to uninstalllog - a Logger-like interface to a component tha records the process
of the installation including any errors, etc.installOptions - the Installation Options beanpublic abstract Map getChildComponents()
getChildComponents in interface ComponentContainerpublic void destroyContainer()
ComponentContainer
destroyContainer in interface ComponentContainerpublic Containable getContainerComponent()
getContainerComponent in interface ComponentContainerContainablepublic void setContainerComponent(Containable newComponent)
setContainerComponent in interface ComponentContainernewComponent - the component that is the 'container' for this implementationpublic ComponentContainer getParentContainer()
getParentContainer in interface ComponentContainerpublic void setParentContainer(ComponentContainer newParent)
setParentContainer in interface ComponentContainernewParent - the new Parent Container
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||