|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.aspectwerkz.joinpoint.AbstractJoinPoint
org.codehaus.aspectwerkz.joinpoint.CallerSideJoinPoint
Matches well defined point of execution in the program where a method is invoked. Stores meta data from the join point. I.e. a reference to original object and method, name and type of the field etc. Handles the invocation of the advices added to the join point.
Constructor Summary | |
CallerSideJoinPoint(java.lang.String uuid,
java.lang.Class callerClass,
java.lang.String callerMethodName,
java.lang.String callerMethodSignature,
java.lang.String calleeMethodName,
java.lang.String calleeMethodSignature)
Creates a new CallerSideJoinPoint object. |
Method Summary | |
java.lang.String |
getCalleeClassName()
Returns the name of callee class. |
java.lang.String |
getCalleeMethodName()
Returns the callee method name. |
java.lang.String[] |
getCalleeMethodParameterTypeNames()
Returns the parameter type names for the callee method. |
java.lang.Class[] |
getCalleeMethodParameterTypes()
Returns the parameter types for the callee method. |
java.lang.Class |
getCalleeMethodReturnType()
Returns the return type for the callee method. |
java.lang.String |
getCalleeMethodReturnTypeName()
Returns the return type name for the callee method. |
java.lang.String |
getCalleeMethodSignature()
Returns the callee method signature. |
java.lang.Class |
getCallerClass()
Returns the caller class. |
java.lang.String |
getCallerClassName()
Returns the name of caller class. |
java.lang.String |
getCallerMethodName()
Returns the caller method name. |
java.lang.String[] |
getCallerMethodParameterTypeNames()
Returns the parameter type names for the caller method. |
java.lang.Class[] |
getCallerMethodParameterTypes()
Returns the parameter types for the method. |
java.lang.Class |
getCallerMethodReturnType()
Returns the return type for the caller method. |
java.lang.String |
getCallerMethodReturnTypeName()
Returns the return type name for the caller method. |
java.lang.String |
getCallerMethodSignature()
Returns the caller method signature. |
java.lang.Class |
getTargetClass()
Returns the target class. |
java.lang.Object |
getTargetInstance()
Returns the target instance. |
void |
post()
Invokes the next post advice in the chain until it reaches the end. |
void |
pre()
Invokes the next pre advice in the chain until it reaches the end. |
java.lang.Object |
proceed()
Invokes the next advice in the chain and when it reaches the end of the chain the original method. |
java.lang.Object |
proceedInNewThread()
To be called instead of proceed() when a new thread is spawned. |
Methods inherited from class org.codehaus.aspectwerkz.joinpoint.AbstractJoinPoint |
getAttribute |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CallerSideJoinPoint(java.lang.String uuid, java.lang.Class callerClass, java.lang.String callerMethodName, java.lang.String callerMethodSignature, java.lang.String calleeMethodName, java.lang.String calleeMethodSignature)
uuid
- the UUID for the AspectWerkz system to usecallerClass
- the caller classcallerMethodName
- the full caller method name (including the class name)callerMethodSignature
- the caller method signaturecalleeMethodName
- the full callee method name (including the class name)calleeMethodSignature
- the callee method signatureMethod Detail |
public java.lang.Object proceedInNewThread() throws java.lang.Throwable
java.lang.Throwable
public java.lang.Object proceed() throws java.lang.Throwable
java.lang.Throwable
public void pre() throws java.lang.Throwable
java.lang.Throwable
public void post() throws java.lang.Throwable
java.lang.Throwable
public java.lang.Object getTargetInstance()
public java.lang.Class getTargetClass()
public java.lang.String getCalleeMethodName()
public java.lang.String getCalleeClassName()
public java.lang.Class[] getCalleeMethodParameterTypes()
public java.lang.String[] getCalleeMethodParameterTypeNames()
public java.lang.Class getCalleeMethodReturnType()
public java.lang.String getCalleeMethodReturnTypeName()
public java.lang.String getCalleeMethodSignature()
public java.lang.String getCallerMethodName()
public java.lang.String getCallerClassName()
public java.lang.Class getCallerClass()
public java.lang.Class[] getCallerMethodParameterTypes()
public java.lang.String[] getCallerMethodParameterTypeNames()
public java.lang.Class getCallerMethodReturnType()
public java.lang.String getCallerMethodReturnTypeName()
public java.lang.String getCallerMethodSignature()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |