|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.deployment.SubDeployerSupport (src)
org.jboss.varia.deployment.FoeDeployer
This is the deployer for other vendor's applications with dynamic migration of vendor-specific DDs to JBoss specific DDs.
Convertor (src) | Nested Class Summary |
| Nested classes inherited from class org.jboss.deployment.SubDeployerSupport (src) |
SubDeployerSupport.ClassConfiguration (src) |
| Field Summary |
| Fields inherited from class org.jboss.deployment.SubDeployerSupport (src) |
CONFIGURATION, mainDeployer, nativePrefix, nativeSuffix, relativeOrder, suffixes, tempDeployDir |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.deployment.SubDeployer (src) |
CREATE_NOTIFICATION, DESTROY_NOTIFICATION, INIT_NOTIFICATION, RELATIVE_ORDER_100, RELATIVE_ORDER_200, RELATIVE_ORDER_300, RELATIVE_ORDER_400, RELATIVE_ORDER_500, RELATIVE_ORDER_600, RELATIVE_ORDER_700, RELATIVE_ORDER_800, RELATIVE_ORDER_900, START_NOTIFICATION, STOP_NOTIFICATION |
| Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
FoeDeployer()
|
|
| Method Summary | |
boolean |
accepts(DeploymentInfo (src) di)
Returns true if the there is a converter available to convert the deployment unit. |
boolean |
accepts(java.net.URL url)
Returns true if the there is a converter available to convert the deployment unit. |
void |
addConvertor(Convertor (src) converter)
Add a new conveter to the list. |
protected void |
addDeployableJar(DeploymentInfo (src) di,
java.util.jar.JarFile jarFile)
This method is called in SubDeployerSupport.processNestedDeployments() The method is overriden to deploy the deployments acceptable by FoeDeployer only. |
void |
create(DeploymentInfo (src) di)
At the create phase, the conversion and packing is done. |
void |
destroy(DeploymentInfo (src) di)
The destroy method removes individual components |
protected ObjectName (src) |
getObjectName(MBeanServer (src) server,
ObjectName (src) name)
Returns the ObjectName |
protected void |
inflateJar(java.net.URL fileURL,
java.io.File destinationDirectory)
The inflateJar copies the jar entries
from the jar url jarUrl to the directory destDir. |
void |
init(DeploymentInfo (src) di)
At the init phase the deployment unit and its subdeployment units are unpacked. |
void |
removeConvertor(Convertor (src) converter)
Removes a conveter from the list of converters. |
void |
start(DeploymentInfo (src) di)
This method stops this deployment because it is not of any use anymore (conversion is done) |
protected void |
startService()
The startService method - gets the mbeanProxies for MainDeployer and ServiceController; - creates scratch directory for foe work. |
void |
stop(DeploymentInfo (src) di)
The stop method removes relationships between components. |
| Methods inherited from class org.jboss.deployment.SubDeployerSupport (src) |
addDeployableFiles, createService, deployUrl, destroyService, emitNotification, getRelativeOrder, getSuffixes, isDeployable, processNestedDeployments, setRelativeOrder, setSuffixes, stopService |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, destroy, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.deployment.SubDeployer (src) |
getRelativeOrder, getServiceName, getSuffixes, setRelativeOrder, setSuffixes |
| Constructor Detail |
public FoeDeployer()
| Method Detail |
public boolean accepts(DeploymentInfo (src) di)
accepts in interface SubDeployer (src) di - a DeploymentInfo value
boolean valuepublic boolean accepts(java.net.URL url)
public void init(DeploymentInfo (src) di)
throws DeploymentException (src)
init in interface SubDeployer (src) init in class SubDeployerSupport (src) DeploymentException (src)
public void create(DeploymentInfo (src) di)
throws DeploymentException (src)
create in interface SubDeployer (src) create in class SubDeployerSupport (src) DeploymentException (src)
public void start(DeploymentInfo (src) di)
throws DeploymentException (src)
start in interface SubDeployer (src) start in class SubDeployerSupport (src) DeploymentException (src) public void stop(DeploymentInfo (src) di)
SubDeployer (src) stop method removes relationships between components.
stop in interface SubDeployer (src) stop in class SubDeployerSupport (src) public void destroy(DeploymentInfo (src) di)
SubDeployer (src) destroy method removes individual components
destroy in interface SubDeployer (src) destroy in class SubDeployerSupport (src)
protected void addDeployableJar(DeploymentInfo (src) di,
java.util.jar.JarFile jarFile)
throws DeploymentException (src)
addDeployableJar in class SubDeployerSupport (src) di - the DeploymentInfojarFile - the jar file to process.
DeploymentException (src)
protected void startService()
throws java.lang.Exception
startService in class SubDeployerSupport (src) java.lang.Exception - if an error occurs
protected ObjectName (src) getObjectName(MBeanServer (src) server,
ObjectName (src) name)
throws MalformedObjectNameException (src)
getObjectName in class ServiceMBeanSupport (src) MalformedObjectNameException (src) public void addConvertor(Convertor (src) converter)
converter - New Converter to be addedpublic void removeConvertor(Convertor (src) converter)
converter - Conveter to be removed from the list
protected void inflateJar(java.net.URL fileURL,
java.io.File destinationDirectory)
throws DeploymentException (src) ,
java.io.IOException
inflateJar copies the jar entries
from the jar url jarUrl to the directory destDir.
fileURL - URL pointing to the file to be inflateddestinationDirectory - Directory to which the content shall be inflated to
DeploymentException (src) - if an error occurs
java.io.IOException - if an error occurs
|
||||||||||
| PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||