jasco.runtime.connector.traversal
Class TraversalJascoMethod
java.lang.Object
jasco.runtime.JascoMethod
jasco.runtime.connector.traversal.TraversalJascoMethod
- All Implemented Interfaces:
- MethodJoinpoint, java.lang.Cloneable
public final class TraversalJascoMethod
- extends JascoMethod
Method Summary |
boolean |
doContinue()
|
void |
doContinue(boolean b)
|
java.lang.Object |
invokeOriginal(java.lang.Object obj,
java.lang.Object[] args)
Invokes the original method, only availabe in around advice. |
java.lang.Object |
invokeOriginalJAsCoMethod()
Invokes the original method with original arguments, only availabe in around advice. |
Methods inherited from class jasco.runtime.JascoMethod |
clearLinkedHooks, clearProceedCheck, getActualArgumentTypes, getAnnotations, getArgumentsArray, getCalledObject, getClassLoader, getClassName, getExceptionTypes, getFormalArgumentTypes, getFullName, getID, getLinkedHooks, getModifiers, getName, getReflectMethod, getReturnType, initClassLoader, initMethod, inlineCompiled, invoke, invokeAgain, invokeAgain, invokeJAsCoMethod, invokeNoAspectAgain, isCall, isExecution, loadClass, loadClass, resetProceedChain, setArgumentsArray, setCalledObject, setExceptionTypes, setFormalArgumentTypes, setInlineCompiled, setLinkedHooks, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TraversalJascoMethod
public TraversalJascoMethod()
TraversalJascoMethod
public TraversalJascoMethod(java.lang.String aName)
TraversalJascoMethod
public TraversalJascoMethod(java.lang.Object self,
java.lang.String aName,
java.lang.String aClassName)
doContinue
public boolean doContinue()
doContinue
public void doContinue(boolean b)
invokeOriginalJAsCoMethod
public java.lang.Object invokeOriginalJAsCoMethod()
- Description copied from class:
JascoMethod
- Invokes the original method with original arguments, only availabe in around advice.
WARNING: This method bypasses the around chain, subsequent arounds are not executed! Use invokeJAsCoMethod if you just want
to proceed.
- Specified by:
invokeOriginalJAsCoMethod
in interface MethodJoinpoint
- Overrides:
invokeOriginalJAsCoMethod
in class JascoMethod
invokeOriginal
public java.lang.Object invokeOriginal(java.lang.Object obj,
java.lang.Object[] args)
throws java.lang.Exception
- Description copied from class:
JascoMethod
- Invokes the original method, only availabe in around advice.
WARNING: This method bypasses the around chain, subsequent arounds are not executed! Use invokeJAsCoMethod if you just want
to proceed.
- Specified by:
invokeOriginal
in interface MethodJoinpoint
- Overrides:
invokeOriginal
in class JascoMethod
- Parameters:
obj
- The object to invoke the method upon, is typically calledobject keywordargs
- The arguments to invoke the original method with.
- Throws:
java.lang.Exception