jasco.runtime.connector.traversal
Class TraversalJascoMethod

java.lang.Object
  extended by jasco.runtime.JascoMethod
      extended by jasco.runtime.connector.traversal.TraversalJascoMethod
All Implemented Interfaces:
MethodJoinpoint, java.io.Serializable, java.lang.Cloneable

public final class TraversalJascoMethod
extends JascoMethod

See Also:
Serialized Form

Constructor Summary
TraversalJascoMethod()
           
TraversalJascoMethod(java.lang.Object self, java.lang.String aName, java.lang.String aClassName)
           
TraversalJascoMethod(java.lang.String aName)
           
 
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
buildFrom, clearLinkedHooks, clearProceedCheck, copy, dontLoadClass, dontLoadClass, getActualArgumentTypes, getAnnotations, getArgumentsArray, getCalledObject, getClassLoader, getClassName, getExceptionTypes, getFormalArgumentTypeNames, getFormalArgumentTypes, getFullName, getID, getJavassistMethod, getLinkedHooks, getModifiers, getName, getReflectMethod, getReturnType, getReturnTypeName, getSignature, getSourceLocation, initClassLoader, initFrom, initJavassistMethod, initReflectMethod, initReflectMethod, inlineCompiled, invoke, invokeAgain, invokeAgain, invokeJAsCoMethod, invokeNoAspectAgain, isCall, isExecution, loadClass, loadClass, resetProceedChain, setArgumentsArray, setCallbackObject, setCalledObject, setExceptionTypes, setFormalArgumentTypes, setInlineCompiled, setLinkedHooks, setReturnTypeName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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 keyword
args - The arguments to invoke the original method with.
Throws:
java.lang.Exception