org.apache.cocoon.core.container.spring.avalon
Class PoolableProxyHandler

java.lang.Object
  extended byorg.apache.cocoon.core.container.spring.avalon.PoolableProxyHandler
All Implemented Interfaces:
InvocationHandler, Runnable

public class PoolableProxyHandler
extends Object
implements InvocationHandler, Runnable

Proxy for all poolable components.

Since:
2.2
Version:
$Id: PoolableProxyHandler.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Constructor Summary
PoolableProxyHandler(PoolableFactoryBean handler)
           
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolableProxyHandler

public PoolableProxyHandler(PoolableFactoryBean handler)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable
See Also:
InvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])

run

public void run()
Specified by:
run in interface Runnable
See Also:
Runnable.run()


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.