Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.aop.deployment
Class AspectDeployer

    java.lang.Object
      org.jboss.mx.util.JBossNotificationBroadcasterSupport
          org.jboss.system.ServiceMBeanSupport
              org.jboss.deployment.SubDeployerSupport
                  org.jboss.aop.deployment.AspectDeployer

All Implemented Interfaces:
  AspectDeployerMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, org.jboss.system.Service, org.jboss.system.ServiceMBean, org.jboss.deployment.SubDeployer, org.jboss.deployment.SubDeployerMBean

Direct Known Subclasses:
  AspectDeployer32

public class AspectDeployer
extends org.jboss.deployment.SubDeployerSupport
implements org.jboss.deployment.SubDeployer, AspectDeployerMBean

Deployer for Aspects

Version:
  $Revision: 1.11.2.4 $
Author:
  Bill Burke

Nested Class Summary

Nested classes inherited from class org.jboss.deployment.SubDeployerSupport
`org.jboss.deployment.SubDeployerSupport.ClassConfiguration`

Field Summary
`static String` | `AOP_DD_KEY`

Fields inherited from class org.jboss.deployment.SubDeployerSupport
`CONFIGURATION, 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.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 javax.management.ObjectName` | `getObjectName(javax.management.MBeanServer server, javax.management.ObjectName name)`
`void` | `init(org.jboss.deployment.DeploymentInfo di)` Describe `init` method here.
`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, getRelativeOrder, getSuffixes, isDeployable, processNestedDeployments, setRelativeOrder, setSuffixes, stopService`

Methods inherited from class org.jboss.system.ServiceMBeanSupport
`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
`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
`getRelativeOrder, getServiceName, getSuffixes, setRelativeOrder, setSuffixes`

Methods inherited from interface org.jboss.deployment.SubDeployerMBean
`getRelativeOrder, getSuffixes, setRelativeOrder, setSuffixes`

Methods inherited from interface org.jboss.system.ServiceMBean
`getName, getState, getStateString, jbossInternalLifecycle`

Methods inherited from interface org.jboss.system.Service
`create, destroy, start, stop`

Field Detail

### AOP_DD_KEY

    public static final String AOP_DD_KEY

See Also:
  Constant Field Values

Constructor Detail

### AspectDeployer

    public AspectDeployer()

  Default CTOR used to set default values to the Suffixes and RelativeOrder attributes. Those are read at subdeployer registration time by the MainDeployer to alter its SuffixOrder.

Method Detail

### accepts

    public boolean accepts(org.jboss.deployment.DeploymentInfo di)

  Returns true if this deployer can deploy the given DeploymentInfo.

  Specified by:
    `accepts` in interface `org.jboss.deployment.SubDeployer`
  Returns:
    True if this deployer can deploy the given DeploymentInfo.

### init

    public void init(org.jboss.deployment.DeploymentInfo di)
              throws org.jboss.deployment.DeploymentException

  Describe `init` method here.

  Specified by:
    `init` in interface `org.jboss.deployment.SubDeployer`
  Parameters:
    `di` - a `DeploymentInfo` value
  Throws:
    `org.jboss.deployment.DeploymentException` - if an error occurs

### create

    public void create(org.jboss.deployment.DeploymentInfo di)
                throws org.jboss.deployment.DeploymentException

  Describe `create` method here.

  Specified by:
    `create` in interface `org.jboss.deployment.SubDeployer`
  Parameters:
    `di` - a `DeploymentInfo` value
  Throws:
    `org.jboss.deployment.DeploymentException` - if an error occurs

### start

    public void start(org.jboss.deployment.DeploymentInfo di)
               throws org.jboss.deployment.DeploymentException

  The `start` method starts all the mbeans in this DeploymentInfo..

  Specified by:
    `start` in interface `org.jboss.deployment.SubDeployer`
  Parameters:
    `di` - a `DeploymentInfo` value
  Throws:
    `org.jboss.deployment.DeploymentException` - if an error occurs

### stop

    public void stop(org.jboss.deployment.DeploymentInfo di)

  Undeploys the package at the url string specified. This will: Undeploy packages depending on this one. Stop, destroy, and unregister all the specified mbeans Unload this package and packages this package deployed via the classpath tag. Keep track of packages depending on this one that we undeployed so that they can be redeployed should this one be redeployed.

  Specified by:
    `stop` in interface `org.jboss.deployment.SubDeployer`
  Throws:
    `org.jboss.deployment.DeploymentException` - Thrown if the package could not be undeployed

### destroy

    public void destroy(org.jboss.deployment.DeploymentInfo di)

  Describe `destroy` method here.

  Specified by:
    `destroy` in interface `org.jboss.deployment.SubDeployer`
  Throws:
    `org.jboss.deployment.DeploymentException` - if an error occurs

### startService

    protected void startService()
                         throws Exception

  The startService method gets the mbeanProxies for MainDeployer and ServiceController, used elsewhere.

  Throws:
    `Exception` - if an error occurs

### getObjectName

    protected javax.management.ObjectName getObjectName(javax.management.MBeanServer server,
                                                        javax.management.ObjectName name)
                                                 throws javax.management.MalformedObjectNameException

  Throws:
    `javax.management.MalformedObjectNameException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.