"Container" composite

package org.ow2.petals.container

This composite hosts 'JBILifecycle' components for the various JBI elements (JBIComp, JBISrvAss, JBIShrLib). When a JBI elements is deployed in PEtALS, an object is created to manage its lifecycle. petals-fractal-container.png

  • org.ow2.petals.container.lifecycle.ComponentLifeCycle
  • org.ow2.petals.container.lifecycle.SharedLibraryLifeCycle
  • org.ow2.petals.container.lifecycle.ServiceAssemblyLifeCycle
  • org.ow2.petals.container.lifecycle.ServiceUnitLifeCycle
These objects are created and managed by the "ContainerService" component.

"ContainerService" component

The "ContainerService" dynamically creates JBILifecycle FRACTAL objects in the "Container" composite, and binds the other FRACTAL components required for they. Then, the ContainerService starts the FRACTAL object.

The "ContainerService" is also used to undeploy the JBILifecycle objects. The FRACTAL objects are stopped and removed from the "Container" composite.

  • Component createInstaller(ComponentDescription componentDescription)
  • void removeInstaller(String name)
  • Component createComponentLifeCycle(ComponentDescription componentDescription)
  • void removeComponentLifeCycle(ComponentDescription componentDescription)
  • Component createServiceAssemblyLifeCycle(ServiceAssembly sa)
  • void removeServiceAssemblyLifeCycle(ServiceAssemblyLifeCycle sa)
  • Component createSharedLibraryLifeCycle(SharedLibrary sl)
  • void removeSharedLibraryLifeCycle(String slName) throws PetalsException;