public class ServiceBeanMethodInvocation extends java.lang.Object implements MethodInvocation, java.io.Serializable
Constructor and Description |
---|
ServiceBeanMethodInvocation(java.lang.Object target,
java.lang.Class<?> targetClass,
java.lang.reflect.Method method,
java.lang.Object[] arguments)
Deprecated.
As of Judson (7.1.x), replaced by
ServiceBeanMethodInvocation(Object, Method, Object[]) |
ServiceBeanMethodInvocation(java.lang.Object target,
java.lang.reflect.Method method,
java.lang.Object[] arguments) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Object[] |
getArguments()
Get the arguments as an array object.
|
java.lang.reflect.Method |
getMethod()
Gets the method being called.
|
java.lang.reflect.AccessibleObject |
getStaticPart()
Returns the static part of this joinpoint.
|
java.lang.Class<?> |
getTargetClass() |
java.lang.Object |
getThis()
Returns the object that holds the current joinpoint's static
part.
|
int |
hashCode() |
void |
mark() |
java.lang.Object |
proceed()
Proceeds to the next interceptor in the chain.
|
void |
reset() |
void |
setMethodInterceptors(java.util.List<MethodInterceptor> methodInterceptors) |
ServiceBeanMethodInvocation |
toCacheKeyModel()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
java.lang.String |
toString() |
@Deprecated public ServiceBeanMethodInvocation(java.lang.Object target, java.lang.Class<?> targetClass, java.lang.reflect.Method method, java.lang.Object[] arguments)
ServiceBeanMethodInvocation(Object, Method, Object[])
public ServiceBeanMethodInvocation(java.lang.Object target, java.lang.reflect.Method method, java.lang.Object[] arguments)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.Object[] getArguments()
Invocation
getArguments
in interface Invocation
public java.lang.reflect.Method getMethod()
MethodInvocation
This method is a frienly implementation of the Joinpoint.getStaticPart()
method (same result).
getMethod
in interface MethodInvocation
public java.lang.reflect.AccessibleObject getStaticPart()
Joinpoint
The static part is an accessible object on which a chain of interceptors are installed.
getStaticPart
in interface Joinpoint
public java.lang.Class<?> getTargetClass()
public java.lang.Object getThis()
Joinpoint
For instance, the target object for an invocation.
public int hashCode()
hashCode
in class java.lang.Object
public void mark()
public java.lang.Object proceed() throws java.lang.Throwable
Joinpoint
The implementation and the semantics of this method depends on the actual joinpoint type (see the children interfaces).
public void reset()
public void setMethodInterceptors(java.util.List<MethodInterceptor> methodInterceptors)
@Deprecated public ServiceBeanMethodInvocation toCacheKeyModel()
public java.lang.String toString()
toString
in class java.lang.Object