|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | 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.deployment.EARDeployer
Enterprise Archive Deployer.
| 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 | |
EARDeployer()
|
|
| Method Summary | |
boolean |
accepts(DeploymentInfo (src) di)
The accepts method is called by MainDeployer to
determine which deployer is suitable for a DeploymentInfo. |
void |
create(DeploymentInfo (src) di)
Sub-classes should override this method to provide custom 'create' logic. |
void |
destroy(DeploymentInfo (src) di)
Describe destroy method here. |
void |
init(DeploymentInfo (src) di)
Sub-classes should override this method to provide custom 'init' logic. |
protected void |
initLoaderRepository(DeploymentInfo (src) di,
org.w3c.dom.Element loader)
Build the ear scoped repository |
boolean |
isCallByValue()
|
protected boolean |
isDeployable(java.lang.String name,
java.net.URL url)
Add -ds.xml and -service.xml as legitimate deployables. |
boolean |
isIsolated()
|
protected void |
processNestedDeployments(DeploymentInfo (src) di)
Override the default behavior of looking into the archive for deployables as only those explicitly listed in the application.xml and jboss-app.xml should be deployed. |
void |
setCallByValue(boolean callByValue)
|
void |
setIsolated(boolean isolated)
|
void |
start(DeploymentInfo (src) di)
Sub-classes should override this method to provide custom 'start' logic. |
protected void |
startService()
Performs SubDeployer registration. |
void |
stop(DeploymentInfo (src) di)
Sub-classes should override this method to provide custom 'stop' logic. |
| Methods inherited from class org.jboss.deployment.SubDeployerSupport (src) |
addDeployableFiles, addDeployableJar, createService, deployUrl, destroyService, emitNotification, getRelativeOrder, getSuffixes, setRelativeOrder, setSuffixes, stopService |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, destroy, getLog, getName, getNextNotificationSequenceNumber, getObjectName, 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) |
getServiceName |
| Constructor Detail |
public EARDeployer()
| Method Detail |
public boolean isIsolated()
public void setIsolated(boolean isolated)
isolated - whether ear deployments should be isolatedpublic boolean isCallByValue()
public void setCallByValue(boolean callByValue)
callByValue - whether ear deployments should be call by value
protected void startService()
throws java.lang.Exception
SubDeployerSupport (src)
startService in class SubDeployerSupport (src) java.lang.Exceptionpublic boolean accepts(DeploymentInfo (src) di)
SubDeployer (src) accepts method is called by MainDeployer to
determine which deployer is suitable for a DeploymentInfo.
di - a DeploymentInfo value
boolean value
public void init(DeploymentInfo (src) di)
throws DeploymentException (src)
SubDeployerSupport (src) This method calls the processNestedDeployments(di) method and then issues a JMX notification of type SubDeployer.INIT_NOTIFICATION. This behaviour can overridden by concrete sub-classes. If further initialization needs to be done, and you wish to preserve the functionality, be sure to call super.init(di) at the end of your implementation.
init in interface SubDeployer (src) init in class SubDeployerSupport (src) DeploymentException (src)
public void create(DeploymentInfo (src) di)
throws DeploymentException (src)
SubDeployerSupport (src)
create in interface SubDeployer (src) create in class SubDeployerSupport (src) DeploymentException (src)
public void start(DeploymentInfo (src) di)
throws DeploymentException (src)
SubDeployerSupport (src)
start in interface SubDeployer (src) start in class SubDeployerSupport (src) DeploymentException (src)
public void stop(DeploymentInfo (src) di)
throws DeploymentException (src)
SubDeployerSupport (src)
stop in interface SubDeployer (src) stop in class SubDeployerSupport (src) DeploymentException (src)
public void destroy(DeploymentInfo (src) di)
throws DeploymentException (src)
destroy method here.
destroy in interface SubDeployer (src) destroy in class SubDeployerSupport (src) di - a DeploymentInfo value
DeploymentException (src) - if an error occurs
protected void initLoaderRepository(DeploymentInfo (src) di,
org.w3c.dom.Element loader)
throws java.lang.Exception
di - the deployment info passed to deployloader - the jboss-app/loader-repository element
java.lang.Exception
protected boolean isDeployable(java.lang.String name,
java.net.URL url)
isDeployable in class SubDeployerSupport (src) name - The "short-name" of the URL. It will have any trailing '/'
characters removed, and any directory structure has been removed.url - The full url.
protected void processNestedDeployments(DeploymentInfo (src) di)
processNestedDeployments in class SubDeployerSupport (src) di -
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||