Package org.apache.cxf.service.invoker
Class PooledFactory
- java.lang.Object
- 
- org.apache.cxf.service.invoker.PooledFactory
 
- 
- 
Constructor SummaryConstructors Constructor Description PooledFactory(Class<?> svcClass, int max)Pool of instances of the svcClassPooledFactory(Collection<Object> objs)Pool constructed from the give Collection of objects.PooledFactory(Factory factory, int max)Pool of instances constructed from the given factoryPooledFactory(Factory factory, int max, boolean createMore)Pool of instances constructed from the given factory
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectcreate(Exchange ex)Creates the object that will be used for the invokeprotected ObjectcreateObject(Exchange e)voidrelease(Exchange ex, Object o)Post invoke, this is called to allow the factory to release the object, store it, etc...
 
- 
- 
- 
Constructor Detail- 
PooledFactorypublic PooledFactory(Class<?> svcClass, int max) Pool of instances of the svcClass- Parameters:
- svcClass- the class to create
- max- the absolute maximum number to create and pool
 
 - 
PooledFactorypublic PooledFactory(Factory factory, int max) Pool of instances constructed from the given factory- Parameters:
- factory-
- max- the absolute maximum number to create and pool
 
 - 
PooledFactorypublic PooledFactory(Factory factory, int max, boolean createMore) Pool of instances constructed from the given factory- Parameters:
- factory-
- max- the absolute maximum number to create and pool
- createMore- If the pool is empty, but max objects have already been constructed, should more be constructed on a per-request basis (and then discarded when done) or should requests block until instances are released back into the pool.
 
 - 
PooledFactorypublic PooledFactory(Collection<Object> objs) Pool constructed from the give Collection of objects.- Parameters:
- objs- The collection of objects to pre-populate the pool
 
 
- 
 
-