Class EventServiceImpl.DispatcherPoolFactory

java.lang.Object
org.dspace.event.EventServiceImpl.DispatcherPoolFactory
All Implemented Interfaces:
org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>
Enclosing class:
EventServiceImpl

protected class EventServiceImpl.DispatcherPoolFactory extends Object implements org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>
  • Field Details

  • Constructor Details

    • DispatcherPoolFactory

      public DispatcherPoolFactory()
  • Method Details

    • wrap

      public org.apache.commons.pool2.PooledObject<Dispatcher> wrap(Dispatcher d)
    • makeObject

      public org.apache.commons.pool2.PooledObject<Dispatcher> makeObject(String dispatcherName) throws Exception
      Specified by:
      makeObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>
      Throws:
      Exception
    • activateObject

      public void activateObject(String arg0, org.apache.commons.pool2.PooledObject<Dispatcher> arg1) throws Exception
      Specified by:
      activateObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>
      Throws:
      Exception
    • destroyObject

      public void destroyObject(String key, org.apache.commons.pool2.PooledObject<Dispatcher> pooledDispatcher) throws Exception
      Specified by:
      destroyObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>
      Throws:
      Exception
    • passivateObject

      public void passivateObject(String arg0, org.apache.commons.pool2.PooledObject<Dispatcher> arg1) throws Exception
      Specified by:
      passivateObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>
      Throws:
      Exception
    • validateObject

      public boolean validateObject(String arg0, org.apache.commons.pool2.PooledObject<Dispatcher> arg1)
      Specified by:
      validateObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>