protected class EventServiceImpl.DispatcherPoolFactory extends Object implements org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,String> |
dispatchers |
| Constructor and Description |
|---|
DispatcherPoolFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
activateObject(String arg0,
org.apache.commons.pool2.PooledObject<Dispatcher> arg1) |
void |
destroyObject(String key,
org.apache.commons.pool2.PooledObject<Dispatcher> pooledDispatcher) |
org.apache.commons.pool2.PooledObject<Dispatcher> |
makeObject(String dispatcherName) |
void |
passivateObject(String arg0,
org.apache.commons.pool2.PooledObject<Dispatcher> arg1) |
boolean |
validateObject(String arg0,
org.apache.commons.pool2.PooledObject<Dispatcher> arg1) |
org.apache.commons.pool2.PooledObject<Dispatcher> |
wrap(Dispatcher d) |
public org.apache.commons.pool2.PooledObject<Dispatcher> wrap(Dispatcher d)
public org.apache.commons.pool2.PooledObject<Dispatcher> makeObject(String dispatcherName) throws Exception
makeObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>Exceptionpublic void activateObject(String arg0, org.apache.commons.pool2.PooledObject<Dispatcher> arg1) throws Exception
activateObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>Exceptionpublic void destroyObject(String key, org.apache.commons.pool2.PooledObject<Dispatcher> pooledDispatcher) throws Exception
destroyObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>Exceptionpublic void passivateObject(String arg0, org.apache.commons.pool2.PooledObject<Dispatcher> arg1) throws Exception
passivateObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>Exceptionpublic boolean validateObject(String arg0, org.apache.commons.pool2.PooledObject<Dispatcher> arg1)
validateObject in interface org.apache.commons.pool2.KeyedPooledObjectFactory<String,Dispatcher>Copyright © 2017 DuraSpace. All rights reserved.