public class ServiceInvocationContext extends Object
Constructor and Description |
---|
ServiceInvocationContext(Object proxy,
IServiceInvocationInterceptor[] interceptors)
Create a new context.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getArgumentArray()
Get the args.
|
List |
getArguments()
Get the args.
|
Method |
getMethod()
Get the method.
|
IServiceInvocationInterceptor |
getNextInterceptor()
Get the next interceptor.
|
Object |
getObject()
Get the object.
|
Object |
getProxy()
Get the proxy.
|
Object |
getResult()
Get the result.
|
IFuture<Void> |
invoke()
Invoke the next interceptor.
|
IFuture<Void> |
invoke(Object object,
Method method,
List args)
Invoke the next interceptor.
|
void |
setArguments(List args)
Set the arguments.
|
void |
setMethod(Method method)
Set the method.
|
void |
setObject(Object object)
Set the object.
|
void |
setProxy(Object proxy)
Set the proxy.
|
void |
setResult(Object result)
Set the result.
|
public ServiceInvocationContext(Object proxy, IServiceInvocationInterceptor[] interceptors)
public Object getProxy()
public void setProxy(Object proxy)
proxy
- The proxy to set.public Object getObject()
public void setObject(Object object)
object
- The object to set.public Method getMethod()
public void setMethod(Method method)
method
- The method to set.public List getArguments()
public Object[] getArgumentArray()
public void setArguments(List args)
args
- The arguments to set.public Object getResult()
public void setResult(Object result)
result
- The result to set.public IFuture<Void> invoke(Object object, Method method, List args)
public IServiceInvocationInterceptor getNextInterceptor()
Copyright © 2012. All Rights Reserved.