|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.definition.AspectDefinition
Holds the aspect definition.
Constructor Summary | |
AspectDefinition()
|
Method Summary | |
void |
addAdviceWeavingRule(AdviceWeavingRule weavingRule)
Adds a new advice weaving rule. |
void |
addControllerDef(ControllerDefinition controllerDef)
Adds a new controller definition. |
void |
addIntroductionWeavingRule(IntroductionWeavingRule weavingRule)
Adds a new introduction weaving rule. |
void |
addPointcutDef(PointcutDefinition pointcut)
Adds a new pointcut. |
java.util.List |
getAdviceWeavingRules()
Returns a list with the advice weaving rules. |
java.util.Collection |
getControllerDefs()
Returns a list with the controllers. |
java.lang.String |
getExtends()
Returns the name of the aspect to extend. |
java.util.List |
getIntroductionWeavingRules()
Returns a list with the introduction weaving rules. |
java.lang.String |
getName()
Returns the pattern for the aspect |
PointcutDefinition |
getPointcutDef(java.lang.String pointcut)
Returns the pointcut definition by its name. |
java.util.Collection |
getPointcutDefs()
Returns a list with the pointcuts. |
boolean |
isAbstract()
Checks if the aspect is abstract. |
void |
setAbstract(boolean anAbstract)
Marks the aspect as abstract. |
void |
setExtends(java.lang.String anExtends)
Sets the name of the aspect to extend. |
void |
setName(java.lang.String name)
Sets the name for the aspect. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AspectDefinition()
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the namepublic java.lang.String getExtends()
public void setExtends(java.lang.String anExtends)
anExtends
- the name of the aspect to extendpublic java.util.Collection getPointcutDefs()
public void addPointcutDef(PointcutDefinition pointcut)
pointcut
- a pointcutpublic java.util.Collection getControllerDefs()
public void addControllerDef(ControllerDefinition controllerDef)
controllerDef
- a controller definitionpublic java.util.List getIntroductionWeavingRules()
public void addIntroductionWeavingRule(IntroductionWeavingRule weavingRule)
weavingRule
- an introduction weaving rulepublic java.util.List getAdviceWeavingRules()
public void addAdviceWeavingRule(AdviceWeavingRule weavingRule)
weavingRule
- an advice weaving rulepublic PointcutDefinition getPointcutDef(java.lang.String pointcut)
pointcut
- the name of the pointcut
public boolean isAbstract()
public void setAbstract(boolean anAbstract)
anAbstract
- boolean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |