org.aopalliance.aop
Interface Aspect


public interface Aspect

An aspect is a program module that implements concern of the application that can be globally defined (aka a crosscutting concern).


Method Summary
 java.lang.String getName()
          Gets the aspect's name.
 Pointcut[] getPointcuts()
          Returns the list of the pointcuts defined by this aspect.
 WeavingRule[] getWeavingRules()
          Returns the list of all the local weaving rules defined by this aspect.
 

Method Detail

getName

public java.lang.String getName()
Gets the aspect's name.


getPointcuts

public Pointcut[] getPointcuts()
Returns the list of the pointcuts defined by this aspect.

See Also:
Pointcut

getWeavingRules

public WeavingRule[] getWeavingRules()
Returns the list of all the local weaving rules defined by this aspect.

The weaving rules are some parametrization of how the aspect should handle possible advices or introduction conflicts if any (e.g. by ordering them). These are local to the current aspects (contrary to global weaving rules which are defined in the weaver layer).

It has to be further discussed.