|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.aspect.management.PointcutManager
Manages pointcuts and introductions defined by a specfic aspect.
Field Summary | |
protected List |
m_cflowPointcuts
Holds references to all the pointcuts that has a cflow pointcut. |
protected int |
m_deploymentModel
The deployment model for the aspect. |
protected String[] |
m_introductions
Holds references to all the the introductions. |
protected String |
m_name
The name of the aspect. |
protected List |
m_pointcuts
Holds references to all the pointcuts. |
Constructor Summary | |
PointcutManager(String name)
Creates a new aspect. |
|
PointcutManager(String name,
int deploymentModel)
Creates a new aspect. |
Method Summary | |
void |
addIntroduction(String introduction)
Adds an introduction to the open class. |
void |
addIntroductions(String[] introductions)
Adds an array with introductions to the open class. |
void |
addPointcut(Pointcut pointcut)
Adds a new pointcut. |
boolean |
equals(Object o)
|
Pointcut |
getCflowPointcut(String expression)
Returns the cflow pointcut for a specific expression. |
List |
getCflowPointcuts()
Returns all the pointcuts defined by a specific aspect that has a cflow pointcut referenced. |
List |
getCflowPointcuts(ExpressionContext ctx)
Returns all the cflow pointcuts for the join point specified. |
int |
getDeploymentModel()
Returns the deployment model for the aspect. |
String |
getDeploymentModelAsString()
Returns the deployment model for the aspect. |
String[] |
getIntroductions()
Returns the introductions for the open class. |
String |
getName()
Returns the name of the aspect. |
Pointcut |
getPointcut(String expression)
Returns the pointcut for a specific expression. |
List |
getPointcuts()
Returns all the pointcuts defined by a specific aspect. |
List |
getPointcuts(ExpressionContext ctx)
Returns all the pointcuts for the join point specified. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final List m_pointcuts
protected final List m_cflowPointcuts
protected String[] m_introductions
protected final String m_name
protected final int m_deploymentModel
Constructor Detail |
public PointcutManager(String name)
name
- the name of the aspectpublic PointcutManager(String name, int deploymentModel)
name
- the name of the aspectdeploymentModel
- the deployment model for the aspectMethod Detail |
public String getName()
public int getDeploymentModel()
public String getDeploymentModelAsString()
public final void addIntroduction(String introduction)
introduction
- the name of the introduction to addpublic final void addIntroductions(String[] introductions)
introductions
- the introductions to addpublic void addPointcut(Pointcut pointcut)
pointcut
- the pointcut to addpublic String[] getIntroductions()
public Pointcut getPointcut(String expression)
expression
- the expression
public Pointcut getCflowPointcut(String expression)
expression
- the expression
public List getPointcuts()
public List getCflowPointcuts()
public List getPointcuts(ExpressionContext ctx)
ctx
- the expression context
public List getCflowPointcuts(ExpressionContext ctx)
ctx
- the expression context
public boolean equals(Object o)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |