java.lang.Object
org.mobicents.slee.container.management.AbstractComponentDeployer
- Direct Known Subclasses:
- EventTypeComponentDeployer, ProfileSpecComponentDeployer, ResourceAdaptorComponentDeployer, ResourceAdaptorTypeComponentDeployer, SbbComponentDeployer
- abstract class AbstractComponentDeployer
- extends java.lang.Object
Instances of this class represent DU components or in other words - JAR file
entries contained in a deployable unit jar such as SBBs, Profiles, RA Types
and etc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private org.jboss.logging.Logger logger
componentJar
private java.util.jar.JarFile componentJar
componentDescriptors
protected java.util.List componentDescriptors
componentContainer
protected ComponentContainer componentContainer
classpathDirectory
protected java.io.File classpathDirectory
duDeployer
protected DeployableUnitDeployer duDeployer
preparedToDeploy
private boolean preparedToDeploy
AbstractComponentDeployer
AbstractComponentDeployer()
getJar
java.util.jar.JarFile getJar()
initDeployer
protected void initDeployer(java.util.jar.JarFile componentJar,
ComponentContainer container,
java.io.File classpathDirectory,
DeployableUnitDeployer duDeployer)
throws DeploymentException
- Inits and parses
parseComponentDescriptors
protected abstract java.util.List parseComponentDescriptors()
throws java.lang.Exception
deployAndInstall
protected void deployAndInstall(DeployableUnitIDImpl deployableUnitID)
throws java.lang.Exception
- Installs the all component descriptors in the ComponentContainer specified
to the ComponentDeployer in the initDeployer method..
prepareDeploy
protected void prepareDeploy(DeployableUnitIDImpl deployableUnitID)
throws java.lang.Exception
- Unpackages the component files. Should be always invoked before deployAndInstall.
More specifically this method should be invoked on all components in the same DU.
After that the deployAndInstall method should be invoked on all components.
This is required to ensure class visibility across components at deployment time.
undeploy
protected static void undeploy(DeployableUnitIDImpl deployableUnitID)