|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.petals.container.ContainerServiceImpl
public class ContainerServiceImpl
This ContainerServiceImpl implementation allow to create and handle
JBI containers.
| Field Summary | |
|---|---|
static java.lang.String |
ADMIN_ITF
Admin interface name. |
static java.lang.String |
CLASSLOADER_ITF
Classloader interface name. |
static java.lang.String |
CONFIGURATION_ITF
Configuration interface name. |
static java.lang.String |
CONTAINER_ITF
Container interface name. |
static java.lang.String |
ENDPOINT_ITF
Endpoint interface name. |
static java.lang.String |
ENDPOINT_PROPERTIES_ITF
Endpoint properties finder interface name |
static java.lang.String |
FRACTAL_CONTAINER_SERVICE_NAME
Fractal name of the container service. |
static java.lang.String |
JNDI_ITF
JNDI interface name. |
static java.lang.String |
REPOSITORY_ITF
Repository interface name. |
static java.lang.String |
ROUTER_ITF
Router interface name. |
static java.lang.String |
SYSTEMSTATE_ITF
Systemstate interface name. |
static java.lang.String |
TRANSACTIONMANAGER_ITF
Transaction manager interface name. |
| Fields inherited from interface org.ow2.petals.container.ContainerService |
|---|
COMPONENT_LOGGER_PREFIX, PREFIX_COMPONENT_LIFE_CYCLE_NAME, PREFIX_INSTALLER_NAME, PREFIX_SERVICE_ASSEMBLY_LIFE_CYCLE_NAME, PREFIX_SHARED_LIBRARY_LIFE_CYCLE_NAME |
| Constructor Summary | |
|---|---|
ContainerServiceImpl()
Default container. |
|
| Method Summary | |
|---|---|
org.objectweb.fractal.api.Component |
createComponentLifeCycle(org.ow2.petals.jbi.descriptor.original.generated.Component componentDescription)
Create a component life cycle from the component description of the component. |
org.objectweb.fractal.api.Component |
createInstaller(org.ow2.petals.jbi.descriptor.original.generated.Component componentDescription)
Create an installer from the component description of the component. |
org.objectweb.fractal.api.Component |
createServiceAssemblyLifeCycle(org.ow2.petals.jbi.descriptor.original.generated.ServiceAssembly sa)
Create a service assembly life cycle from the component description of the component. |
org.objectweb.fractal.api.Component |
createSharedLibraryLifeCycle(org.ow2.petals.jbi.descriptor.original.generated.Jbi.SharedLibrary sl)
Create a shared library life cycle component. |
org.objectweb.fractal.api.Component |
getParentContainer()
Get the parent container. |
void |
removeComponentLifeCycle(org.ow2.petals.jbi.descriptor.original.generated.Component componentDescription)
Remove a component life cycle from the component description of the component. |
void |
removeInstaller(java.lang.String name)
Remove an installer from the name of the component. |
void |
removeServiceAssemblyLifeCycle(ServiceAssemblyLifeCycle sa)
remove a service assembly life cycle. |
void |
removeSharedLibraryLifeCycle(java.lang.String slName)
Remove a shared library life cycle component. |
protected void |
start()
Initialization of the petals component. |
protected void |
stop()
Stop of the petals component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String FRACTAL_CONTAINER_SERVICE_NAME
public static final java.lang.String CONFIGURATION_ITF
public static final java.lang.String ADMIN_ITF
public static final java.lang.String CLASSLOADER_ITF
public static final java.lang.String ROUTER_ITF
public static final java.lang.String REPOSITORY_ITF
public static final java.lang.String ENDPOINT_ITF
public static final java.lang.String ENDPOINT_PROPERTIES_ITF
public static final java.lang.String JNDI_ITF
public static final java.lang.String SYSTEMSTATE_ITF
public static final java.lang.String CONTAINER_ITF
public static final java.lang.String TRANSACTIONMANAGER_ITF
| Constructor Detail |
|---|
public ContainerServiceImpl()
| Method Detail |
|---|
public org.objectweb.fractal.api.Component getParentContainer()
getParentContainer in interface ContainerService
public org.objectweb.fractal.api.Component createInstaller(org.ow2.petals.jbi.descriptor.original.generated.Component componentDescription)
throws org.ow2.petals.kernel.api.server.PetalsException
createInstaller in interface ContainerServicecomponentDescription - the component description of the component
org.ow2.petals.kernel.api.server.PetalsException - : impossible to create the installer
public org.objectweb.fractal.api.Component createComponentLifeCycle(org.ow2.petals.jbi.descriptor.original.generated.Component componentDescription)
throws org.ow2.petals.kernel.api.server.PetalsException
createComponentLifeCycle in interface ContainerServicecomponentDescription - the component description of the component
org.ow2.petals.kernel.api.server.PetalsException - : impossible to create a component life cycle
public void removeComponentLifeCycle(org.ow2.petals.jbi.descriptor.original.generated.Component componentDescription)
throws org.ow2.petals.kernel.api.server.PetalsException
removeComponentLifeCycle in interface ContainerServicecomponentDescription - the component description of the component
org.ow2.petals.kernel.api.server.PetalsException - : impossible to remove a component life cycle
public void removeInstaller(java.lang.String name)
throws org.ow2.petals.kernel.api.server.PetalsException
removeInstaller in interface ContainerServicename - the name of the component
org.ow2.petals.kernel.api.server.PetalsException - impossible to remove the installer
public org.objectweb.fractal.api.Component createServiceAssemblyLifeCycle(org.ow2.petals.jbi.descriptor.original.generated.ServiceAssembly sa)
throws org.ow2.petals.kernel.api.server.PetalsException
createServiceAssemblyLifeCycle in interface ContainerServicesa - the component description of the component
org.ow2.petals.kernel.api.server.PetalsException - impossible to create a service assembly
public void removeServiceAssemblyLifeCycle(ServiceAssemblyLifeCycle sa)
throws org.ow2.petals.kernel.api.server.PetalsException
removeServiceAssemblyLifeCycle in interface ContainerServicesa - the servie assembly life cycle
org.ow2.petals.kernel.api.server.PetalsException - Impossible to remove a service assembly
public org.objectweb.fractal.api.Component createSharedLibraryLifeCycle(org.ow2.petals.jbi.descriptor.original.generated.Jbi.SharedLibrary sl)
throws org.ow2.petals.kernel.api.server.PetalsException
createSharedLibraryLifeCycle in interface ContainerServicesl - the shared library
org.ow2.petals.kernel.api.server.PetalsException - : occurs when it is impossible to create a shared library
public void removeSharedLibraryLifeCycle(java.lang.String slName)
throws org.ow2.petals.kernel.api.server.PetalsException
removeSharedLibraryLifeCycle in interface ContainerServiceslName - the shared library name
org.ow2.petals.kernel.api.server.PetalsException - : occurs when it is impossible to remove a shared library
protected void start()
throws org.ow2.petals.kernel.api.server.PetalsException,
org.objectweb.fractal.api.NoSuchInterfaceException
org.ow2.petals.kernel.api.server.PetalsException - : impossible to start the component
javax.jbi.JBIException - : JBI error
org.objectweb.fractal.api.NoSuchInterfaceException - : Fractal Error
org.objectweb.fractal.adl.ADLException - : Fractal errorprotected void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||