JBoss.orgCommunity Documentation
The deployer chains for the project is located in the deployers
module.
The responsibility of the RAR deployer is to deploy a resource adapter archive (.RAR) file.
The Fungal kernel features a simple deployment framework, so only three classes are needed for the deployer chain.
The classes are located in the
deployers/src/main/java/org/jboss/jca/deployers/fungal
directory.
This class represent a resource adapter deployer and implements the
com.github.fungal.spi.deployers.Deployer com.github.fungal.spi.deployers.MultiStageDeployer com.github.fungal.spi.deployers.DeployerOrder
interfaces.
The responsible of the class is to
If the resource adapter isn't activated in this step based on an ironjacamar.xml
file, the deployment will advance to the next step in the deployer chain.
This class represent a resource adapter deployment and implements the
com.github.fungal.spi.deployers.Deployment
interface.
The responsible of the class is to
This class represent a resource adapter deployer and implements the
com.github.fungal.spi.deployers.Deployer com.github.fungal.spi.deployers.MultiStageDeployer com.github.fungal.spi.deployers.DeployerOrder com.github.fungal.spi.deployers.DeployerPhases
interface.
The class deploys resource adapter archives based on a -ra.xml
which
provides the necessary deployment information.
The responsible of the class is to
Since multiple resource adapter archives can be activated within a single -ra.xml
file the class uses the DeployerPhases
callbacks to unregister these from the
container. If there is only a single resource adapter activation the deployer acts as part of
the normal deployer chain.
This class represent a resource adapter deployment from the RaXmlDeployer
and implements the
com.github.fungal.spi.deployers.Deployment
interface.
The responsible of the class is to
This class will activate all resource adapters which hasn't been deployed by a previous step. The class implements the
com.github.fungal.spi.deployers.DeployerPhases
interface. This interface allows the class to hook into the deployer lifecycle of the kernel and receive callback notifications.
The responsible of the class is to
RADeployer
This class represent a resource adapter deployment activated by the RAActivator
and implements the
com.github.fungal.spi.deployers.Deployment
interface.
The responsible of the class is to
The responsibility of the datasource deployer is to deploy a datasource deployment (-ds.xml) file.
The Fungal datasource deployer chain consists of two classes.
The classes are located in the
deployers/src/main/java/org/jboss/jca/deployers/fungal
directory.
This class represent a datasource deployer and implements the
com.github.fungal.spi.deployers.Deployer
interface.
The responsible of the class is to
DataSource
using jdbc-local.rar
as a template
XaDataSource
using jdbc-xa.rar
as a template