org.ow2.util.pool.impl.enhanced.impl.listener.clue
Class CluePoolListenerAdapter<E,C>

java.lang.Object
  extended by org.ow2.util.pool.impl.enhanced.impl.listener.PoolListenerAdapter<E>
      extended by org.ow2.util.pool.impl.enhanced.impl.listener.clue.CluePoolListenerAdapter<E,C>
Type Parameters:
E - pool item type
C - clue type
All Implemented Interfaces:
ICluePoolListener<E,C>, IPoolListener<E>
Direct Known Subclasses:
PoolFactoryImpl

public class CluePoolListenerAdapter<E,C>
extends PoolListenerAdapter<E>
implements ICluePoolListener<E,C>

Author:
Gael Lalire

Constructor Summary
CluePoolListenerAdapter()
           
 
Method Summary
 void getMethodCalled(C clue, IWaitControl timeout)
           
 void getMethodFailed(PoolException poolException, C clue, IWaitControl timeout)
           
 void getMethodReturned(E result, C clue, IWaitControl timeout)
           
 
Methods inherited from class org.ow2.util.pool.impl.enhanced.impl.listener.PoolListenerAdapter
getMethodCalled, getMethodFailed, getMethodReturned, putMethodCalled, putMethodFailed, putMethodReturned, removeMethodCalled, removeMethodFailed, removeMethodReturned, signalAllWaitersMethodCalled, signalAllWaitersMethodFailed, signalAllWaitersMethodReturned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ow2.util.pool.impl.enhanced.api.listener.IPoolListener
getMethodCalled, getMethodFailed, getMethodReturned, putMethodCalled, putMethodFailed, putMethodReturned, removeMethodCalled, removeMethodFailed, removeMethodReturned, signalAllWaitersMethodCalled, signalAllWaitersMethodFailed, signalAllWaitersMethodReturned
 

Constructor Detail

CluePoolListenerAdapter

public CluePoolListenerAdapter()
Method Detail

getMethodCalled

public void getMethodCalled(C clue,
                            IWaitControl timeout)
Specified by:
getMethodCalled in interface ICluePoolListener<E,C>

getMethodFailed

public void getMethodFailed(PoolException poolException,
                            C clue,
                            IWaitControl timeout)
Specified by:
getMethodFailed in interface ICluePoolListener<E,C>

getMethodReturned

public void getMethodReturned(E result,
                              C clue,
                              IWaitControl timeout)
Specified by:
getMethodReturned in interface ICluePoolListener<E,C>


Copyright © 2007-2009 OW2 Consortium. All Rights Reserved.