|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.easywsdl.extensions.wsdl4complexwsdl.WSDL4ComplexWsdlWriterResourcePool
public class WSDL4ComplexWsdlWriterResourcePool
This class represent a WSDL4ComplexWsdlWriter pool, which provided WSDL4ComplexWsdlWriter
object as resource.
| Constructor Summary | |
|---|---|
WSDL4ComplexWsdlWriterResourcePool(int minPoolSize,
int maxPoolSize,
com.ebmwebsourcing.easycommons.pooling.PoolPolicy poolPolicy)
Allowing to instantiate a new WSDL4ComplexWsdlWriterResourcePool containing WSDL4ComplexWsdlWriter resources. |
|
| Method Summary | |
|---|---|
void |
release(WSDL4ComplexWsdlWriter wsdl4ComplexWsdlWriter)
Release the specified WSDL4ComplexWsdlWriter After putting back the
WSDL4ComplexWsdlWriter in the pool, the method onRelease() of the
WSDL4ComplexWsdlWriter resource handler is called. |
WSDL4ComplexWsdlWriter |
take()
Take one unused WSDL4ComplexWsdlWriter in the current pool. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WSDL4ComplexWsdlWriterResourcePool(int minPoolSize,
int maxPoolSize,
com.ebmwebsourcing.easycommons.pooling.PoolPolicy poolPolicy)
WSDL4ComplexWsdlWriterResourcePool containing WSDL4ComplexWsdlWriter resources.
minPoolSize - The minimum number of WSDL4ComplexWsdlWriter instances in the pool (created at the
initialization).maxPoolSize - the maximum number of WSDL4ComplexWsdlWriter instances in the current pool (limit of the
pool). It must be greater or equals to the specified minSize.
The maximum value is Integer.MAX_VALUEpoolPolicy - the PoolPolicy to adopt when the maximum size is reached. it
must not be null.| Method Detail |
|---|
public WSDL4ComplexWsdlWriter take()
WSDL4ComplexWsdlWriter in the current pool. After getting a
WSDL4ComplexWsdlWriter from the pool and before returning a
WSDL4ComplexWsdlWriter, the method onTake() of the WSDL4ComplexWsdlWriter
resource handler is called.
WSDL4ComplexWsdlWriter
com.ebmwebsourcing.easycommons.pooling.PoolException - if the current thread is interrupted for the pool policy WAIT
or if there is no more available resource in the pool for the
pool policy REJECTpublic final void release(WSDL4ComplexWsdlWriter wsdl4ComplexWsdlWriter)
WSDL4ComplexWsdlWriter After putting back the
WSDL4ComplexWsdlWriter in the pool, the method onRelease() of the
WSDL4ComplexWsdlWriter resource handler is called.
wsdl4ComplexWsdlWriter - The WSDL4ComplexWsdlWriter to release
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||