|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 theJoinPoint
interface.
Field Summary | |
static String |
CONSTRUCTOR_CALL
|
static String |
CONSTRUCTOR_EXECUTION
|
static String |
FIELD_GET
|
static String |
FIELD_SET
|
static String |
HANDLER
|
static String |
METHOD_CALL
|
static String |
METHOD_EXECUTION
|
static String |
STATIC_INITIALIZATION
|
Method Summary | |
void |
addMetaData(Object key,
Object value)
Adds metadata. |
StaticJoinPoint |
deepCopy()
Clones the join point instance. |
Object |
getCallee()
Returns the callee instance. |
Object |
getCaller()
Returns the caller instance. |
Class |
getCallerClass()
Returns the caller class. |
Object |
getMetaData(Object key)
Returns metadata matchingn a specfic key. |
Signature |
getSignature()
Returns the signature for the join point. |
Object |
getTarget()
Returns the target instance. |
Class |
getTargetClass()
Returns the target class. |
Object |
getThis()
Returns the 'this' instance (the one currently executing). |
String |
getType()
Returns the join point type. |
Object |
proceed()
Walks through the pointcuts and invokes all its advices. |
Field Detail |
public static final String METHOD_EXECUTION
public static final String METHOD_CALL
public static final String CONSTRUCTOR_EXECUTION
public static final String CONSTRUCTOR_CALL
public static final String FIELD_SET
public static final String FIELD_GET
public static final String HANDLER
public static final String STATIC_INITIALIZATION
Method Detail |
public Object proceed() throws Throwable
Throwable
public StaticJoinPoint deepCopy()
public Object getMetaData(Object key)
key
- the key to the metadata
public void addMetaData(Object key, Object value)
key
- the key to the metadatavalue
- the valuepublic Signature getSignature()
public Object getCallee()
public Object getCaller()
public Object getThis()
public Object getTarget()
public Class getCallerClass()
public Class getTargetClass()
public String getType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |