| java.lang.Object org.codehaus.aspectwerkz.definition.DefinitionParserHelper
DefinitionParserHelper | public class DefinitionParserHelper (Code) | | Helper class for the attribute and the XML definition parsers.
author: Jonas BonŽr author: Alexandre Vasseur |
Method Summary | |
public static void | attachDeploymentScopeDefsToVirtualAdvice(SystemDefinition systemDef) Attaches all deployment scopes in a system to the virtual advice. | public static AdviceDefinition | createAdviceDefinition(String adviceName, AdviceType adviceType, String expression, String specialArgumentType, String aspectName, String aspectClassName, MethodInfo methodInfo, AspectDefinition aspectDef) Creates a new advice definition. | public static void | createAndAddAdvisableDef(String expression, SystemDefinition systemDef) Creates and adds an advisable definition to virtual aspect definition. | public static void | createAndAddDeploymentScopeDef(String name, String expression, SystemDefinition systemDef) Creates and adds a prepared pointcut definition to virtual aspect definition. | public static void | createAndAddInterfaceIntroductionDefToAspectDef(String expression, String introductionName, String interfaceClassName, AspectDefinition aspectDef) Creates and add interface introduction definition to aspect definition. | public static MixinDefinition | createAndAddMixinDefToSystemDef(ClassInfo mixinClassInfo, String expression, DeploymentModel deploymentModel, boolean isTransient, SystemDefinition systemDef) Creates and add mixin definition to system definition. | public static void | createAndAddPointcutDefToAspectDef(String name, String expression, AspectDefinition aspectDef) Creates and adds pointcut definition to aspect definition. | public static InterfaceIntroductionDefinition | createInterfaceIntroductionDefinition(String introductionName, String expression, String interfaceClassName, AspectDefinition aspectDef) Creates a new interface introduction definition. | public static MixinDefinition | createMixinDefinition(ClassInfo mixinClassInfo, String expression, DeploymentModel deploymentModel, boolean isTransient, SystemDefinition systemDef) Creates an introduction definition. |
EXPRESSION_PREFIX | final public static String EXPRESSION_PREFIX(Code) | | |
attachDeploymentScopeDefsToVirtualAdvice | public static void attachDeploymentScopeDefsToVirtualAdvice(SystemDefinition systemDef)(Code) | | Attaches all deployment scopes in a system to the virtual advice.
Parameters: systemDef - the system definition |
createAdviceDefinition | public static AdviceDefinition createAdviceDefinition(String adviceName, AdviceType adviceType, String expression, String specialArgumentType, String aspectName, String aspectClassName, MethodInfo methodInfo, AspectDefinition aspectDef)(Code) | | Creates a new advice definition.
Parameters: adviceName - the advice name Parameters: adviceType - the advice type Parameters: expression - the advice expression Parameters: specialArgumentType - the arg Parameters: aspectName - the aspect name Parameters: aspectClassName - the aspect class name Parameters: methodInfo - the advice methodInfo Parameters: aspectDef - the aspect definition the new advice definition |
createAndAddAdvisableDef | public static void createAndAddAdvisableDef(String expression, SystemDefinition systemDef)(Code) | | Creates and adds an advisable definition to virtual aspect definition.
Parameters: expression - Parameters: systemDef - |
createAndAddDeploymentScopeDef | public static void createAndAddDeploymentScopeDef(String name, String expression, SystemDefinition systemDef)(Code) | | Creates and adds a prepared pointcut definition to virtual aspect definition.
Parameters: name - Parameters: expression - Parameters: systemDef - |
createAndAddInterfaceIntroductionDefToAspectDef | public static void createAndAddInterfaceIntroductionDefToAspectDef(String expression, String introductionName, String interfaceClassName, AspectDefinition aspectDef)(Code) | | Creates and add interface introduction definition to aspect definition.
Parameters: expression - Parameters: introductionName - Parameters: interfaceClassName - Parameters: aspectDef - |
createAndAddMixinDefToSystemDef | public static MixinDefinition createAndAddMixinDefToSystemDef(ClassInfo mixinClassInfo, String expression, DeploymentModel deploymentModel, boolean isTransient, SystemDefinition systemDef)(Code) | | Creates and add mixin definition to system definition.
Parameters: mixinClassInfo - Parameters: expression - Parameters: deploymentModel - Parameters: isTransient - Parameters: systemDef - the mixin definition |
createAndAddPointcutDefToAspectDef | public static void createAndAddPointcutDefToAspectDef(String name, String expression, AspectDefinition aspectDef)(Code) | | Creates and adds pointcut definition to aspect definition.
Parameters: name - Parameters: expression - Parameters: aspectDef - |
createInterfaceIntroductionDefinition | public static InterfaceIntroductionDefinition createInterfaceIntroductionDefinition(String introductionName, String expression, String interfaceClassName, AspectDefinition aspectDef)(Code) | | Creates a new interface introduction definition.
Parameters: introductionName - the introduction name Parameters: expression - the pointcut expression Parameters: interfaceClassName - the class name of the interface Parameters: aspectDef - the aspect definition the new introduction definition |
createMixinDefinition | public static MixinDefinition createMixinDefinition(ClassInfo mixinClassInfo, String expression, DeploymentModel deploymentModel, boolean isTransient, SystemDefinition systemDef)(Code) | | Creates an introduction definition.
Parameters: mixinClassInfo - Parameters: expression - Parameters: deploymentModel - Parameters: isTransient - Parameters: systemDef - |
|
|