| com.tc.aspectwerkz.joinpoint.StaticJoinPoint
StaticJoinPoint | public interface StaticJoinPoint (Code) | | Implements the join point concept, e.g. defines a well defined point in the program flow.
Provides access to only static data, is therefore much more performant than the usage of the
com.tc.aspectwerkz.joinpoint.JoinPoint interface.
Note that it is possible to call proceed() on a StaticJoinPoint instance. The optimization comes from the fact
that StaticJoinPoint does not host RTTI information (caller, callee instances and args). It can be used with
pcd "args()", "this()" and "target()".
author: Jonas BonŽr |
CONSTRUCTOR_CALL | final public static String CONSTRUCTOR_CALL(Code) | | |
CONSTRUCTOR_EXECUTION | final public static String CONSTRUCTOR_EXECUTION(Code) | | |
METHOD_EXECUTION | final public static String METHOD_EXECUTION(Code) | | |
STATIC_INITIALIZATION | final public static String STATIC_INITIALIZATION(Code) | | |
addMetaData | void addMetaData(Object key, Object value)(Code) | | Adds metadata.
Parameters: key - the key to the metadata Parameters: value - the value |
getCalleeClass | Class getCalleeClass()(Code) | | Returns the callee class.
the target class |
getCallerClass | Class getCallerClass()(Code) | | Returns the caller class.
the caller class |
getEnclosingStaticJoinPoint | EnclosingStaticJoinPoint getEnclosingStaticJoinPoint()(Code) | | Returns the enclosing static joinpoint.
the enclosing static joinpoint |
getMetaData | Object getMetaData(Object key)(Code) | | Returns metadata matchingn a specfic key.
Parameters: key - the key to the metadata the value |
getSignature | Signature getSignature()(Code) | | Returns the signature for the join point.
the signature |
getTargetClass | Class getTargetClass()(Code) | | Returns the callee class.
the target class |
proceed | Object proceed() throws Throwable(Code) | | Walks through the pointcuts and invokes all its advices. When the last advice of the last pointcut has been
invoked, the original method is invoked. Is called recursively.
the result from the next invocation throws: Throwable - |
|
|