"JBI-Management" composite

This composite gathers JBI administrative tasks, as described in the JBI specification, and other administrative functionnalities.

petals-fractal-jbimanagement.png

Only the 3 JBI Management services described in the specification are exposed outside this composite. These services are extended and offer more functionnalities than the initial specification API.

  • AdminService component (jbi)
  • InstallationService component (jbi)
  • DeploymentService component (jbi)
  • AutoLoaderService component
  • SystemRecoveryService component

"AdminService" component (jbi)

This component serves the JBI API "AdminService".

Moreover, it manages the registration of the JBIComponents in the JMX server. a verifier !!

It uses the external component "JMX" to register or search information in the JMX server.

Admin Service package

"InstallationService" component (jbi)

Installation Service package

"DeploymentService" component (jbi)

Deployment Service package

"AutoLoaderService" component (jbi)

  • This Component might be deactivated in a production environment !
  • pourquoi admin et repository sont utilisés ?
This component is used for hot (un)deployment of JBI elements (JBIComponents, JBIServiceAssemblies, JBISahredLibraries). A Thread polls the $PETALS_HOME/install directory. When a ZIP file is found, it is extracted WHERE ? and analysed. Depending on its JBI.XML descriptor, the component process the correct deployment and start by calling the JBIservices.

When the deployment is performed, the ZIP file is moved to the $PETALS_HOME/installed directory. A thread polls this directory. When a ZIP file is removed or deleted, the component stop and undeploy it by calling the JBIservices.

  • a quoi servent ces methodes sur l'interface?
  • void install(File? listFiles)
  • void uninstall(List listFiles)
  • File getInstalledDirectory()
  • File getUninstalledDirectory()
  • File getWorkDirectory()
Autoloader

JBIComponent installation

The *InstallationService
component is called to install the component. As the installation and start of a JBIComponent is a sequence of severals tasks performed on dynamically created components, the component needs to call the AdminService.

JBISharedLibrary installation

bla

"SystemRecoveryService" component (jbi)

SystemState Recovery