jasco.runtime
Class JascoDirectCallbackMethod

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

public class JascoDirectCallbackMethod
extends JascoMethod

See Also:
Serialized Form

Constructor Summary
JascoDirectCallbackMethod()
           
JascoDirectCallbackMethod(java.lang.String aName)
           
JascoDirectCallbackMethod(java.lang.String fullname, java.lang.String aName, java.lang.String aClassName, int methodid, JAsCoBeanCallbackMethod callbackObject, int modifiers)
           
JascoDirectCallbackMethod(java.lang.String fullname, java.lang.String aName, java.lang.String aClassName, int methodid, JAsCoBeanCallbackMethod callbackObject, int modifiers, boolean isExecution)
           
 
Method Summary
 java.lang.Object[] getArgumentsArray()
          Returns an array of all arguments
 java.lang.Object getCalledObject()
          Returns the object the method is invoked upon
 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, 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, invokeOriginal, 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

JascoDirectCallbackMethod

public JascoDirectCallbackMethod()

JascoDirectCallbackMethod

public JascoDirectCallbackMethod(java.lang.String aName)

JascoDirectCallbackMethod

public JascoDirectCallbackMethod(java.lang.String fullname,
                                 java.lang.String aName,
                                 java.lang.String aClassName,
                                 int methodid,
                                 JAsCoBeanCallbackMethod callbackObject,
                                 int modifiers)

JascoDirectCallbackMethod

public JascoDirectCallbackMethod(java.lang.String fullname,
                                 java.lang.String aName,
                                 java.lang.String aClassName,
                                 int methodid,
                                 JAsCoBeanCallbackMethod callbackObject,
                                 int modifiers,
                                 boolean isExecution)
Method Detail

invokeOriginalJAsCoMethod

public java.lang.Object invokeOriginalJAsCoMethod()
                                           throws java.lang.Exception
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
Throws:
java.lang.Exception

getArgumentsArray

public java.lang.Object[] getArgumentsArray()
Description copied from class: JascoMethod
Returns an array of all arguments

Specified by:
getArgumentsArray in interface MethodJoinpoint
Overrides:
getArgumentsArray in class JascoMethod

getCalledObject

public java.lang.Object getCalledObject()
Description copied from class: JascoMethod
Returns the object the method is invoked upon

Specified by:
getCalledObject in interface MethodJoinpoint
Overrides:
getCalledObject in class JascoMethod