|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.thoughtworks.proxy.toys.delegate.DelegatingInvoker
com.thoughtworks.proxy.toys.pool.Pool.PoolingInvoker
The Invoker of the proxy.
| Constructor Summary | |
protected |
Pool.PoolingInvoker(Pool pool,
ProxyFactory proxyFactory,
ObjectReference delegateReference,
int delegationMode)
Construct a PoolingInvoker. |
| Method Summary | |
Object |
invoke(Object proxy,
Method method,
Object[] args)
Invocation of a method of the proxied object. |
protected Object |
proxy()
Create a proxy for the types of the pool. |
Object |
returnInstanceToPool()
Return the current instance to the pool. |
| Methods inherited from class com.thoughtworks.proxy.toys.delegate.DelegatingInvoker |
delegate, equals, getDelegateReference, getMethodToInvoke, getProxyFactory, hashCode, invokeOnDelegate |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected Pool.PoolingInvoker(Pool pool,
ProxyFactory proxyFactory,
ObjectReference delegateReference,
int delegationMode)
pool - the corresponding PoolproxyFactory - the ProxyFactory to usedelegateReference - the ObjectReference with the delegatedelegationMode - onde of the delgation modes| Method Detail |
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
Invoker
invoke in interface Invokerinvoke in class DelegatingInvokerThrowablepublic Object returnInstanceToPool()
Resetter returns
the object.
Void.TYPEprotected Object proxy()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||