Package org.jboss.jca.common.metadata.ds
Class DsXaPoolImpl
java.lang.Object
org.jboss.jca.common.metadata.common.PoolImpl
org.jboss.jca.common.metadata.common.XaPoolImpl
org.jboss.jca.common.metadata.ds.DsXaPoolImpl
- All Implemented Interfaces:
Serializable,Pool,XaPool,DsXaPool,JCAMetadata,ValidatableMetadata
An XA pool implementation
- Author:
- Jesper Pedersen
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.ds.DsXaPool
DsXaPool.TagNested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.common.Pool
Pool.TagNested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.common.XaPool
XaPool.Tag -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Booleanallow-multiple-usersprotected final Extensionconnection-listenerFields inherited from class org.jboss.jca.common.metadata.common.XaPoolImpl
interleaving, isSameRmOverride, noTxSeparatePool, padXid, wrapXaResourceFields inherited from class org.jboss.jca.common.metadata.common.PoolImpl
capacity, fair, flushStrategy, initialPoolSize, maxPoolSize, minPoolSize, prefill, useStrictMin -
Constructor Summary
ConstructorsConstructorDescriptionDsXaPoolImpl(Integer minPoolSize, Integer initialPoolSize, Integer maxPoolSize, Boolean prefill, Boolean useStrictMin, FlushStrategy flushStrategy, Boolean isSameRmOverride, Boolean interleaving, Boolean padXid, Boolean wrapXaResource, Boolean noTxSeparatePool, Boolean allowMultipleUsers, Capacity capacity, Boolean fair, Extension connectionListener) Create a new XaPoolImpl. -
Method Summary
Methods inherited from class org.jboss.jca.common.metadata.common.XaPoolImpl
isInterleaving, isNoTxSeparatePool, isPadXid, isSameRmOverride, isWrapXaResourceMethods 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
validateMethods inherited from interface org.jboss.jca.common.api.metadata.common.XaPool
isInterleaving, isNoTxSeparatePool, isPadXid, isSameRmOverride, isWrapXaResource
-
Field Details
-
allowMultipleUsers
allow-multiple-users -
connectionListener
connection-listener
-
-
Constructor Details
-
DsXaPoolImpl
public DsXaPoolImpl(Integer minPoolSize, Integer initialPoolSize, Integer maxPoolSize, Boolean prefill, Boolean useStrictMin, FlushStrategy flushStrategy, Boolean isSameRmOverride, Boolean interleaving, Boolean padXid, Boolean wrapXaResource, Boolean noTxSeparatePool, Boolean allowMultipleUsers, Capacity capacity, Boolean fair, Extension connectionListener) throws ValidateException Create a new XaPoolImpl.- Parameters:
minPoolSize- minPoolSizeinitialPoolSize- initialPoolSizemaxPoolSize- maxPoolSizeprefill- prefilluseStrictMin- useStrictMinflushStrategy- flushStrategyisSameRmOverride- isSameRmOverrideinterleaving- interleavingpadXid- padXidwrapXaResource- wrapXaResourcenoTxSeparatePool- noTxSeparatePoolallowMultipleUsers- allowMultipleUserscapacity- capacityfair- fairconnectionListener- connectionListener- Throws:
ValidateException- ValidateException
-
-
Method Details
-
isAllowMultipleUsers
- Specified by:
isAllowMultipleUsersin interfaceDsXaPool
-
getConnectionListener
- Specified by:
getConnectionListenerin interfaceDsXaPool
-
hashCode
public int hashCode()Description copied from class:XaPoolImpl- Overrides:
hashCodein classXaPoolImpl
-
equals
Description copied from class:XaPoolImpl- Overrides:
equalsin classXaPoolImpl
-
toString
- Overrides:
toStringin classXaPoolImpl
-