org.apache.cocoon.core.container.handler
Class PoolableComponentHandler.ProxyHandler

java.lang.Object
  extended byorg.apache.cocoon.core.container.handler.PoolableComponentHandler.ProxyHandler
All Implemented Interfaces:
Core.CleanupTask, InvocationHandler
Enclosing class:
PoolableComponentHandler

protected static final class PoolableComponentHandler.ProxyHandler
extends Object
implements InvocationHandler, Core.CleanupTask


Constructor Summary
PoolableComponentHandler.ProxyHandler(PoolableComponentHandler handler)
           
 
Method Summary
 void invoke()
          Start the cleanup.
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolableComponentHandler.ProxyHandler

public PoolableComponentHandler.ProxyHandler(PoolableComponentHandler handler)
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

invoke

public void invoke()
Description copied from interface: Core.CleanupTask
Start the cleanup. This method should never raise any exception!

Specified by:
invoke in interface Core.CleanupTask


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.