|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.proxy.ClientContainer
An invocation handler whichs sets up the client invocation and starts the invocation interceptor call chain.
Field Summary | |
InvocationContext |
context
The static information that gets attached to every invocation. |
protected static Object[] |
EMPTY_ARGS
An empty method parameter list. |
Interceptor |
next
The first interceptor in the chain. |
Constructor Summary | |
ClientContainer()
Exposed for externalization. |
|
ClientContainer(InvocationContext context)
|
Method Summary | |
ArrayList |
getInterceptors()
Access a copy of the proxy container interceptor stack. |
InvocationContext |
getInvocationContext()
Access the InvocationContext associated with the proxy by the server side proxy factory. |
Object |
invoke(Object proxy,
Method m,
Object[] args)
|
void |
readExternal(ObjectInput in)
Externalization support. |
void |
setInterceptors(ArrayList interceptors)
Set the proxy container interceptor stack. |
Interceptor |
setNext(Interceptor interceptor)
|
void |
writeExternal(ObjectOutput out)
Externalization support. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final Object[] EMPTY_ARGS
public InvocationContext context
public Interceptor next
Constructor Detail |
public ClientContainer()
public ClientContainer(InvocationContext context)
Method Detail |
public Object invoke(Object proxy, Method m, Object[] args) throws Throwable
invoke
in interface InvocationHandler
Throwable
public InvocationContext getInvocationContext()
IClientContainer
getInvocationContext
in interface IClientContainer
public ArrayList getInterceptors()
IClientContainer
getInterceptors
in interface IClientContainer
public void setInterceptors(ArrayList interceptors)
IClientContainer
setInterceptors
in interface IClientContainer
interceptors
- - ArrayListpublic Interceptor setNext(Interceptor interceptor)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |