|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.definition.AdviceDefinition
Holds the meta-data for the advices.
Constructor Summary | |
AdviceDefinition(String name,
AdviceType type,
String specialArgumentType,
String aspectName,
String aspectClassName,
ExpressionInfo expressionInfo,
Method method,
int methodIndex,
AspectDefinition aspectDef)
Creates a new advice meta-data instance. |
Method Summary | |
AdviceDefinition |
copyAt(ExpressionInfo expressionInfo)
Deep copy of the definition. |
String |
getAspectClassName()
Returns the class name. |
String |
getAspectName()
Returns the aspect name. |
String |
getAttribute()
Returns the attribute. |
String |
getDeploymentModel()
Returns the the deployment model for the advice |
ExpressionInfo |
getExpressionInfo()
Returns the expression. |
Method |
getMethod()
Returns the method. |
int |
getMethodIndex()
Returns the method index for the introduction method. |
String |
getName()
Returns the name of the advice. |
String |
getSpecialArgumentType()
Returns the special arg type, such as returning(TYPE) or throwing(TYPE). |
AdviceType |
getType()
Returns the advice type. |
void |
setAttribute(String attribute)
Sets the attribute. |
void |
setName(String name)
Sets the name of the advice. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AdviceDefinition(String name, AdviceType type, String specialArgumentType, String aspectName, String aspectClassName, ExpressionInfo expressionInfo, Method method, int methodIndex, AspectDefinition aspectDef)
name
- the name of the expressionInfotype
- the type of the advicespecialArgumentType
- the special arg type, such as returning(TYPE) or throwing(TYPE)aspectName
- the name of the aspectaspectClassName
- the class name of the aspectexpressionInfo
- the expressionInfomethod
- the methodmethodIndex
- the method indexMethod Detail |
public AdviceType getType()
public String getName()
public void setName(String name)
name
- the namepublic ExpressionInfo getExpressionInfo()
public String getAspectClassName()
public String getAspectName()
public String getSpecialArgumentType()
public Method getMethod()
public int getMethodIndex()
public String getDeploymentModel()
public String getAttribute()
public void setAttribute(String attribute)
attribute
- the attributepublic AdviceDefinition copyAt(ExpressionInfo expressionInfo)
expressionInfo
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |