|
||||||||||
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.aop.deployment.AspectDeployer
public class AspectDeployer
Deployer for Aspects
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, START_NOTIFICATION, STOP_NOTIFICATION |
Fields inherited from interface org.jboss.aop.deployment.AspectDeployerMBean |
---|
OBJECT_NAME |
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 | |
---|---|
AspectDeployer()
Default CTOR used to set default values to the Suffixes and RelativeOrder attributes. |
Method Summary | |
---|---|
boolean |
accepts(org.jboss.deployment.DeploymentInfo di)
Returns true if this deployer can deploy the given DeploymentInfo. |
void |
create(org.jboss.deployment.DeploymentInfo di)
Describe create method here. |
void |
destroy(org.jboss.deployment.DeploymentInfo di)
Describe destroy method here. |
protected ObjectName |
getObjectName(MBeanServer server,
ObjectName name)
|
void |
init(org.jboss.deployment.DeploymentInfo di)
Describe init method here. |
protected void |
initializeMainDeployer()
Set the suffixes and relative order attributes. |
void |
start(org.jboss.deployment.DeploymentInfo di)
The start method starts all the mbeans in this DeploymentInfo.. |
protected void |
startService()
The startService method gets the mbeanProxies for MainDeployer and ServiceController, used elsewhere. |
void |
stop(org.jboss.deployment.DeploymentInfo di)
Undeploys the package at the url string specified. |
Methods inherited from class org.jboss.deployment.SubDeployerSupport |
---|
addDeployableFiles, addDeployableJar, createService, deployUrl, destroyService, emitNotification, getEnhancedSuffixes, getRelativeOrder, getSuffixes, isDeployable, processNestedDeployments, setEnhancedSuffixes, setRelativeOrder, setSuffixes, stopService |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
---|
create, destroy, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, unsetKernelControllerContext |
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 |
---|
getRelativeOrder, getServiceName, getSuffixes |
Methods inherited from interface org.jboss.deployment.SubDeployerMBean |
---|
getRelativeOrder, getServiceName, getSuffixes |
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 AspectDeployer()
Method Detail |
---|
protected void initializeMainDeployer()
public boolean accepts(org.jboss.deployment.DeploymentInfo di)
accepts
in interface AspectDeployerMBean
accepts
in interface org.jboss.deployment.SubDeployer
accepts
in interface org.jboss.deployment.SubDeployerMBean
accepts
in class org.jboss.deployment.SubDeployerSupport
public void init(org.jboss.deployment.DeploymentInfo di) throws org.jboss.deployment.DeploymentException
init
method here.
init
in interface AspectDeployerMBean
init
in interface org.jboss.deployment.SubDeployer
init
in interface org.jboss.deployment.SubDeployerMBean
init
in class org.jboss.deployment.SubDeployerSupport
di
- a DeploymentInfo
value
org.jboss.deployment.DeploymentException
- if an error occurspublic void create(org.jboss.deployment.DeploymentInfo di) throws org.jboss.deployment.DeploymentException
create
method here.
create
in interface AspectDeployerMBean
create
in interface org.jboss.deployment.SubDeployer
create
in interface org.jboss.deployment.SubDeployerMBean
create
in class org.jboss.deployment.SubDeployerSupport
di
- a DeploymentInfo
value
org.jboss.deployment.DeploymentException
- if an error occurspublic void start(org.jboss.deployment.DeploymentInfo di) throws org.jboss.deployment.DeploymentException
start
method starts all the mbeans in this DeploymentInfo..
start
in interface AspectDeployerMBean
start
in interface org.jboss.deployment.SubDeployer
start
in interface org.jboss.deployment.SubDeployerMBean
start
in class org.jboss.deployment.SubDeployerSupport
di
- a DeploymentInfo
value
org.jboss.deployment.DeploymentException
- if an error occurspublic void stop(org.jboss.deployment.DeploymentInfo di)
stop
in interface AspectDeployerMBean
stop
in interface org.jboss.deployment.SubDeployer
stop
in interface org.jboss.deployment.SubDeployerMBean
stop
in class org.jboss.deployment.SubDeployerSupport
di
- the DeploymentInfo
value to stop.public void destroy(org.jboss.deployment.DeploymentInfo di)
destroy
method here.
destroy
in interface AspectDeployerMBean
destroy
in interface org.jboss.deployment.SubDeployer
destroy
in interface org.jboss.deployment.SubDeployerMBean
destroy
in class org.jboss.deployment.SubDeployerSupport
di
- a DeploymentInfo
valueprotected void startService() throws Exception
startService
in class org.jboss.deployment.SubDeployerSupport
Exception
- if an error occursprotected ObjectName getObjectName(MBeanServer server, ObjectName name) throws MalformedObjectNameException
getObjectName
in class org.jboss.system.ServiceMBeanSupport
MalformedObjectNameException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |