|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.definition.DefinitionParserHelper
Helper class for the attribute and the XML definition parsers.
Field Summary | |
static String |
EXPR_PREFIX
|
Constructor Summary | |
DefinitionParserHelper()
|
Method Summary | |
static AdviceDefinition |
createAdviceDefinition(String adviceName,
AdviceType adviceType,
String expression,
String specialArgumentType,
String aspectName,
String aspectClassName,
Method method,
int methodIndex,
AspectDefinition aspectDef)
Creates a new advice definition. |
static void |
createAndAddInterfaceIntroductionDefToAspectDef(String expression,
String introductionName,
String interfaceClassName,
AspectDefinition aspectDef)
Creates and add interface introduction definition to aspect definition. |
static void |
createAndAddIntroductionDefToAspectDef(Class mixinClass,
String expression,
String deploymentModel,
AspectDefinition aspectDef)
Creates and add introduction definition to aspect definition. |
static void |
createAndAddPointcutDefToAspectDef(String name,
String expression,
AspectDefinition aspectDef)
Creates and add pointcut definition to aspect definition. |
static InterfaceIntroductionDefinition |
createInterfaceIntroductionDefinition(String introductionName,
String expression,
String interfaceClassName,
AspectDefinition aspectDef)
Creates a new interface introduction definition. |
static IntroductionDefinition |
createIntroductionDefinition(Class mixinClass,
String expression,
String deploymentModel,
AspectDefinition aspectDef)
Creates an introduction definition. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String EXPR_PREFIX
Constructor Detail |
public DefinitionParserHelper()
Method Detail |
public static void createAndAddPointcutDefToAspectDef(String name, String expression, AspectDefinition aspectDef)
name
- expression
- aspectDef
- public static void createAndAddIntroductionDefToAspectDef(Class mixinClass, String expression, String deploymentModel, AspectDefinition aspectDef)
mixinClass
- expression
- deploymentModel
- aspectDef
- public static void createAndAddInterfaceIntroductionDefToAspectDef(String expression, String introductionName, String interfaceClassName, AspectDefinition aspectDef)
expression
- introductionName
- interfaceClassName
- aspectDef
- public static AdviceDefinition createAdviceDefinition(String adviceName, AdviceType adviceType, String expression, String specialArgumentType, String aspectName, String aspectClassName, Method method, int methodIndex, AspectDefinition aspectDef)
adviceName
- the advice nameadviceType
- the advice typeexpression
- the advice expressionspecialArgumentType
- the argaspectName
- the aspect nameaspectClassName
- the aspect class namemethod
- the advice methodmethodIndex
- the advice method indexaspectDef
- the aspect definition
public static IntroductionDefinition createIntroductionDefinition(Class mixinClass, String expression, String deploymentModel, AspectDefinition aspectDef)
mixinClass
- expression
- deploymentModel
- aspectDef
-
public static InterfaceIntroductionDefinition createInterfaceIntroductionDefinition(String introductionName, String expression, String interfaceClassName, AspectDefinition aspectDef)
introductionName
- the introduction nameexpression
- the pointcut expressioninterfaceClassName
- the class name of the interfaceaspectDef
- the aspect definition
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |