|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sape.carbon.core.component.proxy.Invocation
This object is built to contain a call to a component within the component's facade. It is then passed through the interceptor chain to allow interceptors to handle the call appropriately.
Copyright 2003 Sapient
Field Summary | |
protected boolean |
isTargetFunctionalImplementation
Indicates if this method is in the functional implementation. |
protected Method |
method
Holds the target method. |
protected Object[] |
methodArguments
Holds the objects to be passed to the target method. |
protected Class[] |
methodSignature
Holds the classes needed in the target method signature. |
protected Object |
target
Holds the target object. |
Constructor Summary | |
Invocation(Object target,
Method method,
Object[] methodArguments,
Class[] methodSignature,
boolean isTargetFunctionalImplementation)
Constructs an invocation object |
Method Summary | |
Method |
getMethod()
Gets the method being invoked. |
Object[] |
getMethodArguments()
Returns the array of object parameters for the target method. |
Class[] |
getMethodSignature()
Returns the array of classes for the target method. |
Object |
getTarget()
Retrieves the target object. |
boolean |
isTargetFunctionalImplementation()
Is the intended target the component's functional implementation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Object target
protected Method method
protected Object[] methodArguments
protected Class[] methodSignature
protected boolean isTargetFunctionalImplementation
Constructor Detail |
public Invocation(Object target, Method method, Object[] methodArguments, Class[] methodSignature, boolean isTargetFunctionalImplementation)
target
- the Target object on which this method was intended to
be called. Must be either the component's implementation or one of its
configured decorators.method
- the method that intendedmethodArguments
- the arguments to the methodmethodSignature
- the signature of the methodisTargetFunctionalImplementation
- true if this invocation's
target is the component's functional implementation, false if it is
one of the decorators.Method Detail |
public Object getTarget()
public Method getMethod()
public Object[] getMethodArguments()
public Class[] getMethodSignature()
public boolean isTargetFunctionalImplementation()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |