Package org.jboss.jca.common.metadata.ds
Class DsPoolImpl
java.lang.Object
org.jboss.jca.common.metadata.common.PoolImpl
org.jboss.jca.common.metadata.ds.DsPoolImpl
- All Implemented Interfaces:
Serializable,Pool,DsPool,JCAMetadata,ValidatableMetadata
A pool implementation
- Author:
- Jesper Pedersen
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.ds.DsPool
DsPool.Tag -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanallow-multiple-usersprotected Extensionconnection-listenerFields inherited from class org.jboss.jca.common.metadata.common.PoolImpl
capacity, fair, flushStrategy, initialPoolSize, maxPoolSize, minPoolSize, prefill, useStrictMin -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jboss.jca.common.metadata.common.PoolImpl
getCapacity, getFlushStrategy, getInitialPoolSize, getMaxPoolSize, getMinPoolSize, isFair, isPrefill, isUseStrictMin, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jboss.jca.common.api.metadata.common.Pool
getCapacity, getFlushStrategy, getInitialPoolSize, getMaxPoolSize, getMinPoolSize, isFair, isPrefill, isUseStrictMinMethods inherited from interface org.jboss.jca.common.api.metadata.ValidatableMetadata
validate
-
Field Details
-
allowMultipleUsers
allow-multiple-users -
connectionListener
connection-listener
-
-
Constructor Details
-
DsPoolImpl
public DsPoolImpl(Integer minPoolSize, Integer initialPoolSize, Integer maxPoolSize, Boolean prefill, Boolean useStrictMin, FlushStrategy flushStrategy, Boolean allowMultipleUsers, Capacity capacity, Boolean fair, Extension connectionListener) throws ValidateException Create a new PoolImpl.- Parameters:
minPoolSize- minPoolSizeinitialPoolSize- initialPoolSizemaxPoolSize- maxPoolSizeprefill- prefilluseStrictMin- useStrictMinflushStrategy- flushStrategyallowMultipleUsers- allowMultipleUserscapacity- capacityfair- fairconnectionListener- connectionListener- Throws:
ValidateException- ValidateException
-
-
Method Details
-
isAllowMultipleUsers
- Specified by:
isAllowMultipleUsersin interfaceDsPool
-
getConnectionListener
- Specified by:
getConnectionListenerin interfaceDsPool
-
hashCode
public int hashCode() -
equals
-
toString
-