|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.deployment.SubDeployerSupport
org.jboss.deployment.ClientDeployer
public class ClientDeployer
An XMBean resource implementation of a deployer for j2ee application client jars
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jboss.deployment.SubDeployerSupport |
|---|
org.jboss.deployment.SubDeployerSupport.ClassConfiguration |
| Field Summary |
|---|
| Fields inherited from class org.jboss.deployment.SubDeployerSupport |
|---|
CONFIGURATION, enhancedSuffixes, mainDeployer, nativePrefix, nativeSuffix, relativeOrder, suffixes, tempDeployDir |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.deployment.SubDeployer |
|---|
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 |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
|---|---|
ClientDeployer()
|
|
| Method Summary | |
|---|---|
boolean |
accepts(org.jboss.deployment.DeploymentInfo di)
This method looks to the deployment for a META-INF/application-client.xml descriptor to identify a j2ee client jar. |
void |
create(org.jboss.deployment.DeploymentInfo di)
Sub-classes should override this method to provide custom 'create' logic. |
void |
destroy(org.jboss.deployment.DeploymentInfo di)
Sub-classes should override this method to provide custom 'destroy' logic. |
void |
start(org.jboss.deployment.DeploymentInfo di)
Parse the application-client.xml and jboss-client.xml descriptors. |
protected void |
startService()
|
void |
stop(org.jboss.deployment.DeploymentInfo di)
Sub-classes should override this method to provide custom 'stop' logic. |
protected void |
stopService()
Implements the template method in superclass. |
| Methods inherited from class org.jboss.deployment.SubDeployerSupport |
|---|
addDeployableFiles, addDeployableJar, createService, deployUrl, destroyService, emitNotification, getEnhancedSuffixes, getRelativeOrder, getSuffixes, init, isDeployable, processNestedDeployments, setEnhancedSuffixes, setRelativeOrder, setSuffixes |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, destroy, getDeploymentInfo, 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 |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, 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 |
|---|
getServiceName |
| Methods inherited from interface org.jboss.deployment.SubDeployerMBean |
|---|
getServiceName |
| Methods inherited from interface org.jboss.system.ServiceMBean |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Constructor Detail |
|---|
public ClientDeployer()
| Method Detail |
|---|
protected void startService()
throws Exception
startService in class org.jboss.deployment.SubDeployerSupportException
protected void stopService()
throws Exception
stopService in class org.jboss.deployment.SubDeployerSupportExceptionpublic boolean accepts(org.jboss.deployment.DeploymentInfo di)
accepts in interface org.jboss.deployment.SubDeployeraccepts in interface org.jboss.deployment.SubDeployerMBeanaccepts in class org.jboss.deployment.SubDeployerSupportdi - The deployment info instance for the jar
public void create(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
create in interface org.jboss.deployment.SubDeployercreate in interface org.jboss.deployment.SubDeployerMBeancreate in class org.jboss.deployment.SubDeployerSupportorg.jboss.deployment.DeploymentException
public void start(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
start in interface org.jboss.deployment.SubDeployerstart in interface org.jboss.deployment.SubDeployerMBeanstart in class org.jboss.deployment.SubDeployerSupportdi - the application client jar deployment info
org.jboss.deployment.DeploymentException
public void stop(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
stop in interface org.jboss.deployment.SubDeployerstop in interface org.jboss.deployment.SubDeployerMBeanstop in class org.jboss.deployment.SubDeployerSupportorg.jboss.deployment.DeploymentException
public void destroy(org.jboss.deployment.DeploymentInfo di)
throws org.jboss.deployment.DeploymentException
destroy in interface org.jboss.deployment.SubDeployerdestroy in interface org.jboss.deployment.SubDeployerMBeandestroy in class org.jboss.deployment.SubDeployerSupportorg.jboss.deployment.DeploymentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||