| java.lang.Object org.codehaus.aspectwerkz.transform.inlining.deployer.Deployer
Deployer | public class Deployer (Code) | | Manages deployment and undeployment of aspects. Aspects can be deployed and undeployed into a running system(s).
Supports annotation defined and XML defined aspects.
author: Jonas BonŽr |
Method Summary | |
public static DeploymentHandle | deploy(Class aspect) Deploys an annotation defined aspect. | public static DeploymentHandle | deploy(String aspectClassName) Deploys an annotation defined aspect. | public static DeploymentHandle | deploy(Class aspect, ClassLoader deployLoader) Deploys an annotation defined aspect. | public static DeploymentHandle | deploy(String aspectClassName, ClassLoader deployLoader) Deploys an annotation defined aspect. | public static DeploymentHandle | deploy(Class aspect, DeploymentScope deploymentScope) Deploys an annotation defined aspect in the scope defined by the prepared pointcut. | public static DeploymentHandle | deploy(String aspectClassName, DeploymentScope deploymentScope) Deploys an annotation defined aspect in the scope defined by the prepared pointcut. | public static DeploymentHandle | deploy(Class aspect, DeploymentScope deploymentScope, ClassLoader deployLoader) TODO allow deployment in other systems than virtual system?
Deploys an annotation defined aspect in the scope defined by the prepared pointcut. | public static synchronized DeploymentHandle | deploy(String className, DeploymentScope deploymentScope, ClassLoader deployLoader) Deploys an annotation defined aspect in the scope defined by the prepared pointcut. | public static DeploymentHandle | deploy(Class aspect, String xmlDef) Deploys an XML defined aspect in the scope defined by the prepared pointcut. | public static DeploymentHandle | deploy(Class aspect, String xmlDef, DeploymentScope deploymentScope) Deploys an XML defined aspect in the scope defined by the prepared pointcut. | public static DeploymentHandle | deploy(Class aspect, String xmlDef, ClassLoader deployLoader) Deploys an XML defined aspect in the scope defined by the prepared pointcut. | public static synchronized DeploymentHandle | deploy(Class aspect, String xmlDef, DeploymentScope deploymentScope, ClassLoader deployLoader) TODO allow deployment in other systems than virtual system?
Deploys an XML defined aspect in the scope defined by the prepared pointcut. | public static void | undeploy(Class aspect) Undeploys an aspect from the same loader that has loaded the class. | public static void | undeploy(Class aspect, ClassLoader loader) Undeploys an aspect from a specific class loader. | public static void | undeploy(String className, ClassLoader loader) Undeploys an aspect from a specific class loader. | public static void | undeploy(DeploymentHandle deploymentHandle) Undeploys an aspect in the same way that it has been deployed in in the previous deploy event
defined by the deployment handle. |
deploy | public static DeploymentHandle deploy(Class aspect)(Code) | | Deploys an annotation defined aspect.
Deploys the aspect in all systems in the class loader that has loaded the aspect class.
CAUTION: use a to own risk, the aspect might have a wider scope than your set of instrumented join points,
then the aspect will not be applied to all intended points, to play safe -
use deploy(final Class aspect, final DeploymentScope deploymentScope)
Parameters: aspect - the aspect class a unique deployment handle for this deployment |
deploy | public static DeploymentHandle deploy(String aspectClassName)(Code) | | Deploys an annotation defined aspect.
Deploys the aspect in all systems in the class loader that has loaded the aspect class.
CAUTION: use a to own risk, the aspect might have a wider scope than your set of instrumented join points,
then the aspect will not be applied to all intended points, to play safe -
use deploy(final Class aspect, final DeploymentScope preparedPointcut)
Parameters: aspectClassName - the aspect class name a unique deployment handle for this deployment |
deploy | public static DeploymentHandle deploy(Class aspect, ClassLoader deployLoader)(Code) | | Deploys an annotation defined aspect.
Deploys the aspect in all systems in the class loader that is specified.
CAUTION: use a to own risk, the aspect might have a wider scope than your set of instrumented join points,
then the aspect will not be applied to all intended points, to play safe -
use deploy(final Class aspect, final DeploymentScope preparedPointcut)
Parameters: aspect - the aspect class Parameters: deployLoader - a unique deployment handle for this deployment |
deploy | public static DeploymentHandle deploy(String aspectClassName, ClassLoader deployLoader)(Code) | | Deploys an annotation defined aspect.
Deploys the aspect in all systems in the class loader that is specified.
CAUTION: use a to own risk, the aspect might have a wider scope than your set of instrumented join points,
then the aspect will not be applied to all intended points, to play safe -
use deploy(final Class aspect, final DeploymentScope preparedPointcut)
Parameters: aspectClassName - the aspect class name Parameters: deployLoader - a unique deployment handle for this deployment |
deploy | public static DeploymentHandle deploy(Class aspect, DeploymentScope deploymentScope)(Code) | | Deploys an annotation defined aspect in the scope defined by the prepared pointcut.
Deploys the aspect in all systems in the class loader that has loaded the aspect class.
Parameters: aspect - the aspect class Parameters: deploymentScope - a unique deployment handle for this deployment |
deploy | public static DeploymentHandle deploy(String aspectClassName, DeploymentScope deploymentScope)(Code) | | Deploys an annotation defined aspect in the scope defined by the prepared pointcut.
Deploys the aspect in all systems in the class loader that has loaded the aspect class.
Parameters: aspectClassName - the aspect class name Parameters: deploymentScope - a unique deployment handle for this deployment |
deploy | public static DeploymentHandle deploy(Class aspect, DeploymentScope deploymentScope, ClassLoader deployLoader)(Code) | | TODO allow deployment in other systems than virtual system?
Deploys an annotation defined aspect in the scope defined by the prepared pointcut.
Deploys the aspect in the class loader that is specified.
Parameters: aspect - the aspect class Parameters: deployLoader - the loader to deploy the aspect in Parameters: deploymentScope - the prepared pointcut a unique deployment handle for this deployment |
deploy | public static synchronized DeploymentHandle deploy(String className, DeploymentScope deploymentScope, ClassLoader deployLoader)(Code) | | Deploys an annotation defined aspect in the scope defined by the prepared pointcut.
Deploys the aspect in the class loader that is specified.
Parameters: className - Parameters: deploymentScope - Parameters: deployLoader - |
deploy | public static DeploymentHandle deploy(Class aspect, String xmlDef)(Code) | | Deploys an XML defined aspect in the scope defined by the prepared pointcut.
If the aspect class has annotations, those will be read but the XML definition will override the
annotation definition.
Deploys the aspect in the class loader that has loaded the aspect.
Parameters: aspect - the aspect class Parameters: xmlDef - |
deploy | public static DeploymentHandle deploy(Class aspect, String xmlDef, DeploymentScope deploymentScope)(Code) | | Deploys an XML defined aspect in the scope defined by the prepared pointcut.
If the aspect class has annotations, those will be read but the XML definition will override the
annotation definition.
Deploys the aspect in the class loader that has loaded the aspect.
Parameters: aspect - the aspect class Parameters: xmlDef - Parameters: deploymentScope - |
deploy | public static DeploymentHandle deploy(Class aspect, String xmlDef, ClassLoader deployLoader)(Code) | | Deploys an XML defined aspect in the scope defined by the prepared pointcut.
If the aspect class has annotations, those will be read but the XML definition will override the
annotation definition.
Deploys the aspect in the class loader that is specified.
Parameters: aspect - the aspect class Parameters: xmlDef - Parameters: deployLoader - |
deploy | public static synchronized DeploymentHandle deploy(Class aspect, String xmlDef, DeploymentScope deploymentScope, ClassLoader deployLoader)(Code) | | TODO allow deployment in other systems than virtual system?
Deploys an XML defined aspect in the scope defined by the prepared pointcut.
If the aspect class has annotations, those will be read but the XML definition will override the
annotation definition.
Deploys the aspect in the class loader that is specified.
Parameters: aspect - the aspect class Parameters: deploymentScope - Parameters: xmlDef - Parameters: deployLoader - |
undeploy | public static void undeploy(Class aspect)(Code) | | Undeploys an aspect from the same loader that has loaded the class.
Parameters: aspect - the aspect class |
undeploy | public static void undeploy(Class aspect, ClassLoader loader)(Code) | | Undeploys an aspect from a specific class loader.
Parameters: aspect - the aspect class Parameters: loader - the loader that you want to undeploy the aspect from |
undeploy | public static void undeploy(String className, ClassLoader loader)(Code) | | Undeploys an aspect from a specific class loader.
Parameters: className - the aspect class name Parameters: loader - the loader that you want to undeploy the aspect from |
undeploy | public static void undeploy(DeploymentHandle deploymentHandle)(Code) | | Undeploys an aspect in the same way that it has been deployed in in the previous deploy event
defined by the deployment handle.
Parameters: deploymentHandle - the handle to the previous deployment event |
|
|