|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jasco.runtime.mixin.DummyMixinJP
public class DummyMixinJP
Constructor Summary | |
---|---|
DummyMixinJP(java.lang.Class target)
|
|
DummyMixinJP(java.lang.Object target)
|
|
DummyMixinJP(java.lang.Object targetObject,
java.lang.Class targetClass)
|
Method Summary | |
---|---|
java.lang.Class[] |
getActualArgumentTypes()
Returns the actual argument types |
java.lang.annotation.Annotation[] |
getAnnotations()
Returns all defined annotations |
java.lang.Object[] |
getArgumentsArray()
Returns an array of all arguments |
java.lang.Object |
getCalledObject()
Returns the object the method is invoked upon |
java.lang.ClassLoader |
getClassLoader()
Returns the classLoader responsible for loading this joinpoint. |
java.lang.String |
getClassName()
Returns the fully quantified name of class the method is declared |
java.lang.Class[] |
getExceptionTypes()
Returns java.lang.reflect.class objects denoting types of exceptions thrown by this method |
java.lang.String[] |
getFormalArgumentTypeNames()
returns array of full class names of formal arguments |
java.lang.Class[] |
getFormalArgumentTypes()
Returns the formal argument types |
java.lang.String |
getFullName()
Returns the unique name for this method joinpoint |
int |
getModifiers()
Returns the modifiers intger, see java.lang.reflect.Modifier |
java.lang.String |
getName()
Returns the method name |
java.lang.Class |
getReturnType()
Returns java.lang.reflect.class object denoting the return type of this method |
java.lang.String |
getReturnTypeName()
returns full class name of return type |
java.lang.String |
getSignature()
Returns the unique name for this method joinpoint |
int |
getSourceLocation()
returns location of joinpoint in original source code |
java.lang.Object |
invoke(java.lang.Object obj,
java.lang.Object[] args)
Invokes the replaced method or subsequent around advices, only availabe in around advice |
java.lang.Object |
invokeAgain()
Allows to invoke the original method all over again with original arguments. |
java.lang.Object |
invokeAgain(java.lang.Object calledobject,
java.lang.Object[] args)
Allows to invoke the original method all over again. |
java.lang.Object |
invokeJAsCoMethod()
Invokes the replaced method or subsequent around advices with original arguments, only availabe in around advice. |
java.lang.Object |
invokeNoAspectAgain()
Allows to invoke the original method again with original arguments. |
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. |
boolean |
isCall()
Returns true when this method joinpoint is a call joinpoint |
boolean |
isExecution()
Returns true when this method joinpoint is an execution joinpoint |
java.lang.Class |
loadClass()
Loads this class |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DummyMixinJP(java.lang.Object target)
public DummyMixinJP(java.lang.Class target)
public DummyMixinJP(java.lang.Object targetObject, java.lang.Class targetClass)
Method Detail |
---|
public java.lang.Class[] getExceptionTypes()
MethodJoinpoint
getExceptionTypes
in interface MethodJoinpoint
public java.lang.Class getReturnType()
MethodJoinpoint
getReturnType
in interface MethodJoinpoint
public java.lang.String getFullName()
MethodJoinpoint
getFullName
in interface MethodJoinpoint
public java.lang.String getSignature()
MethodJoinpoint
getSignature
in interface MethodJoinpoint
public boolean isExecution()
MethodJoinpoint
isExecution
in interface MethodJoinpoint
public boolean isCall()
MethodJoinpoint
isCall
in interface MethodJoinpoint
public java.lang.String getName()
MethodJoinpoint
getName
in interface MethodJoinpoint
public java.lang.Class loadClass()
MethodJoinpoint
loadClass
in interface MethodJoinpoint
public java.lang.annotation.Annotation[] getAnnotations()
MethodJoinpoint
getAnnotations
in interface MethodJoinpoint
public java.lang.Class[] getActualArgumentTypes()
MethodJoinpoint
getActualArgumentTypes
in interface MethodJoinpoint
public java.lang.Class[] getFormalArgumentTypes()
MethodJoinpoint
getFormalArgumentTypes
in interface MethodJoinpoint
public java.lang.String getClassName()
MethodJoinpoint
getClassName
in interface MethodJoinpoint
public int getModifiers()
MethodJoinpoint
getModifiers
in interface MethodJoinpoint
public java.lang.Object[] getArgumentsArray()
MethodJoinpoint
getArgumentsArray
in interface MethodJoinpoint
public java.lang.Object getCalledObject()
MethodJoinpoint
getCalledObject
in interface MethodJoinpoint
public java.lang.Object invokeJAsCoMethod() throws java.lang.Exception
MethodJoinpoint
invokeJAsCoMethod
in interface MethodJoinpoint
ProceedFinishedException
- proceed was previously invoked and all advices and original method already executed.
java.lang.Exception
public java.lang.Object invokeOriginalJAsCoMethod() throws java.lang.Exception
MethodJoinpoint
invokeOriginalJAsCoMethod
in interface MethodJoinpoint
java.lang.Exception
public java.lang.Object invoke(java.lang.Object obj, java.lang.Object[] args) throws java.lang.Exception
MethodJoinpoint
invoke
in interface MethodJoinpoint
obj
- The object to invoke the method upon, is typically thisJoinPointObject keywordargs
- The arguments to invoke the proceed chain with.
ProceedFinishedException
- proceed was previously invoked and all advices and original method already executed.
java.lang.Exception
public java.lang.Object invokeOriginal(java.lang.Object obj, java.lang.Object[] args) throws java.lang.Exception
MethodJoinpoint
invokeOriginal
in interface MethodJoinpoint
obj
- The object to invoke the method upon, is typically thisJoinPointObject keywordargs
- The arguments to invoke the original method with.
java.lang.Exception
public java.lang.Object invokeAgain() throws java.lang.Exception
MethodJoinpoint
invokeAgain
in interface MethodJoinpoint
java.lang.Exception
public java.lang.Object invokeAgain(java.lang.Object calledobject, java.lang.Object[] args)
MethodJoinpoint
invokeAgain
in interface MethodJoinpoint
calledobject
- The object to invoke the method upon, is typically thisJoinPointObject keywordargs
- The arguments to invoke the original method with.public java.lang.Object invokeNoAspectAgain() throws java.lang.Exception
MethodJoinpoint
invokeNoAspectAgain
in interface MethodJoinpoint
java.lang.Exception
public java.lang.ClassLoader getClassLoader()
MethodJoinpoint
getClassLoader
in interface MethodJoinpoint
public java.lang.String getReturnTypeName()
MethodJoinpoint
getReturnTypeName
in interface MethodJoinpoint
public java.lang.String[] getFormalArgumentTypeNames()
MethodJoinpoint
getFormalArgumentTypeNames
in interface MethodJoinpoint
public int getSourceLocation()
MethodJoinpoint
getSourceLocation
in interface MethodJoinpoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |