Class XaPoolTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.resourceadapters11.impl.XaPoolTypeImpl<T>
-
- All Implemented Interfaces:
XaPoolType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class XaPoolTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, XaPoolType<T>
This class implements thexa-poolTypexsd type
-
-
Constructor Summary
Constructors Constructor Description XaPoolTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)XaPoolTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XaPoolType<T>flushStrategy(String flushStrategy)Sets theflush-strategyelementStringgetFlushStrategy()Returns theflush-strategyelementIntegergetInitialPoolSize()Returns theinitial-pool-sizeelementIntegergetMaxPoolSize()Returns themax-pool-sizeelementIntegergetMinPoolSize()Returns themin-pool-sizeelementCapacityType<XaPoolType<T>>getOrCreateCapacity()If not already created, a newcapacityelement with the given value will be created.XaPoolType<T>initialPoolSize(Integer initialPoolSize)Sets theinitial-pool-sizeelementXaPoolType<T>interleaving()Sets theinterleavingelementBooleanisInterleaving()Removes theinterleavingelementBooleanisIsSameRmOverride()Returns theis-same-rm-overrideelementBooleanisNoTxSeparatePools()Removes theno-tx-separate-poolselementBooleanisPadXid()Returns thepad-xidelementBooleanisPrefill()Returns theprefillelementXaPoolType<T>isSameRmOverride(Boolean isSameRmOverride)Sets theis-same-rm-overrideelementBooleanisUseStrictMin()Returns theuse-strict-minelementBooleanisWrapXaResource()Returns thewrap-xa-resourceelementXaPoolType<T>maxPoolSize(Integer maxPoolSize)Sets themax-pool-sizeelementXaPoolType<T>minPoolSize(Integer minPoolSize)Sets themin-pool-sizeelementXaPoolType<T>noTxSeparatePools()Sets theno-tx-separate-poolselementXaPoolType<T>padXid(Boolean padXid)Sets thepad-xidelementXaPoolType<T>prefill(Boolean prefill)Sets theprefillelementXaPoolType<T>removeCapacity()Removes thecapacityelementXaPoolType<T>removeFlushStrategy()Removes theflush-strategyelementXaPoolType<T>removeInitialPoolSize()Removes theinitial-pool-sizeelementXaPoolType<T>removeInterleaving()Removes theinterleavingelementXaPoolType<T>removeIsSameRmOverride()Removes theis-same-rm-overrideelementXaPoolType<T>removeMaxPoolSize()Removes themax-pool-sizeelementXaPoolType<T>removeMinPoolSize()Removes themin-pool-sizeelementXaPoolType<T>removeNoTxSeparatePools()Removes theno-tx-separate-poolselementXaPoolType<T>removePadXid()Removes thepad-xidelementXaPoolType<T>removePrefill()Removes theprefillelementXaPoolType<T>removeUseStrictMin()Removes theuse-strict-minelementXaPoolType<T>removeWrapXaResource()Removes thewrap-xa-resourceelementTup()XaPoolType<T>useStrictMin(Boolean useStrictMin)Sets theuse-strict-minelementXaPoolType<T>wrapXaResource(Boolean wrapXaResource)Sets thewrap-xa-resourceelement
-
-
-
Method Detail
-
minPoolSize
public XaPoolType<T> minPoolSize(Integer minPoolSize)
Sets themin-pool-sizeelement- Specified by:
minPoolSizein interfaceXaPoolType<T>- Parameters:
minPoolSize- the value for the elementmin-pool-size- Returns:
- the current instance of
XaPoolType
-
getMinPoolSize
public Integer getMinPoolSize()
Returns themin-pool-sizeelement- Specified by:
getMinPoolSizein interfaceXaPoolType<T>- Returns:
- the node defined for the element
min-pool-size
-
removeMinPoolSize
public XaPoolType<T> removeMinPoolSize()
Removes themin-pool-sizeelement- Specified by:
removeMinPoolSizein interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
initialPoolSize
public XaPoolType<T> initialPoolSize(Integer initialPoolSize)
Sets theinitial-pool-sizeelement- Specified by:
initialPoolSizein interfaceXaPoolType<T>- Parameters:
initialPoolSize- the value for the elementinitial-pool-size- Returns:
- the current instance of
XaPoolType
-
getInitialPoolSize
public Integer getInitialPoolSize()
Returns theinitial-pool-sizeelement- Specified by:
getInitialPoolSizein interfaceXaPoolType<T>- Returns:
- the node defined for the element
initial-pool-size
-
removeInitialPoolSize
public XaPoolType<T> removeInitialPoolSize()
Removes theinitial-pool-sizeelement- Specified by:
removeInitialPoolSizein interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
maxPoolSize
public XaPoolType<T> maxPoolSize(Integer maxPoolSize)
Sets themax-pool-sizeelement- Specified by:
maxPoolSizein interfaceXaPoolType<T>- Parameters:
maxPoolSize- the value for the elementmax-pool-size- Returns:
- the current instance of
XaPoolType
-
getMaxPoolSize
public Integer getMaxPoolSize()
Returns themax-pool-sizeelement- Specified by:
getMaxPoolSizein interfaceXaPoolType<T>- Returns:
- the node defined for the element
max-pool-size
-
removeMaxPoolSize
public XaPoolType<T> removeMaxPoolSize()
Removes themax-pool-sizeelement- Specified by:
removeMaxPoolSizein interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
prefill
public XaPoolType<T> prefill(Boolean prefill)
Sets theprefillelement- Specified by:
prefillin interfaceXaPoolType<T>- Parameters:
prefill- the value for the elementprefill- Returns:
- the current instance of
XaPoolType
-
isPrefill
public Boolean isPrefill()
Returns theprefillelement- Specified by:
isPrefillin interfaceXaPoolType<T>- Returns:
- the node defined for the element
prefill
-
removePrefill
public XaPoolType<T> removePrefill()
Removes theprefillelement- Specified by:
removePrefillin interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
useStrictMin
public XaPoolType<T> useStrictMin(Boolean useStrictMin)
Sets theuse-strict-minelement- Specified by:
useStrictMinin interfaceXaPoolType<T>- Parameters:
useStrictMin- the value for the elementuse-strict-min- Returns:
- the current instance of
XaPoolType
-
isUseStrictMin
public Boolean isUseStrictMin()
Returns theuse-strict-minelement- Specified by:
isUseStrictMinin interfaceXaPoolType<T>- Returns:
- the node defined for the element
use-strict-min
-
removeUseStrictMin
public XaPoolType<T> removeUseStrictMin()
Removes theuse-strict-minelement- Specified by:
removeUseStrictMinin interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
flushStrategy
public XaPoolType<T> flushStrategy(String flushStrategy)
Sets theflush-strategyelement- Specified by:
flushStrategyin interfaceXaPoolType<T>- Parameters:
flushStrategy- the value for the elementflush-strategy- Returns:
- the current instance of
XaPoolType
-
getFlushStrategy
public String getFlushStrategy()
Returns theflush-strategyelement- Specified by:
getFlushStrategyin interfaceXaPoolType<T>- Returns:
- the node defined for the element
flush-strategy
-
removeFlushStrategy
public XaPoolType<T> removeFlushStrategy()
Removes theflush-strategyelement- Specified by:
removeFlushStrategyin interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
getOrCreateCapacity
public CapacityType<XaPoolType<T>> getOrCreateCapacity()
If not already created, a newcapacityelement with the given value will be created. Otherwise, the existingcapacityelement will be returned.- Specified by:
getOrCreateCapacityin interfaceXaPoolType<T>- Returns:
- a new or existing instance of
CapacityType>
-
removeCapacity
public XaPoolType<T> removeCapacity()
Removes thecapacityelement- Specified by:
removeCapacityin interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
isSameRmOverride
public XaPoolType<T> isSameRmOverride(Boolean isSameRmOverride)
Sets theis-same-rm-overrideelement- Specified by:
isSameRmOverridein interfaceXaPoolType<T>- Parameters:
isSameRmOverride- the value for the elementis-same-rm-override- Returns:
- the current instance of
XaPoolType
-
isIsSameRmOverride
public Boolean isIsSameRmOverride()
Returns theis-same-rm-overrideelement- Specified by:
isIsSameRmOverridein interfaceXaPoolType<T>- Returns:
- the node defined for the element
is-same-rm-override
-
removeIsSameRmOverride
public XaPoolType<T> removeIsSameRmOverride()
Removes theis-same-rm-overrideelement- Specified by:
removeIsSameRmOverridein interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
interleaving
public XaPoolType<T> interleaving()
Sets theinterleavingelement- Specified by:
interleavingin interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
isInterleaving
public Boolean isInterleaving()
Removes theinterleavingelement- Specified by:
isInterleavingin interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
removeInterleaving
public XaPoolType<T> removeInterleaving()
Removes theinterleavingelement- Specified by:
removeInterleavingin interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
noTxSeparatePools
public XaPoolType<T> noTxSeparatePools()
Sets theno-tx-separate-poolselement- Specified by:
noTxSeparatePoolsin interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
isNoTxSeparatePools
public Boolean isNoTxSeparatePools()
Removes theno-tx-separate-poolselement- Specified by:
isNoTxSeparatePoolsin interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
removeNoTxSeparatePools
public XaPoolType<T> removeNoTxSeparatePools()
Removes theno-tx-separate-poolselement- Specified by:
removeNoTxSeparatePoolsin interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
padXid
public XaPoolType<T> padXid(Boolean padXid)
Sets thepad-xidelement- Specified by:
padXidin interfaceXaPoolType<T>- Parameters:
padXid- the value for the elementpad-xid- Returns:
- the current instance of
XaPoolType
-
isPadXid
public Boolean isPadXid()
Returns thepad-xidelement- Specified by:
isPadXidin interfaceXaPoolType<T>- Returns:
- the node defined for the element
pad-xid
-
removePadXid
public XaPoolType<T> removePadXid()
Removes thepad-xidelement- Specified by:
removePadXidin interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
wrapXaResource
public XaPoolType<T> wrapXaResource(Boolean wrapXaResource)
Sets thewrap-xa-resourceelement- Specified by:
wrapXaResourcein interfaceXaPoolType<T>- Parameters:
wrapXaResource- the value for the elementwrap-xa-resource- Returns:
- the current instance of
XaPoolType
-
isWrapXaResource
public Boolean isWrapXaResource()
Returns thewrap-xa-resourceelement- Specified by:
isWrapXaResourcein interfaceXaPoolType<T>- Returns:
- the node defined for the element
wrap-xa-resource
-
removeWrapXaResource
public XaPoolType<T> removeWrapXaResource()
Removes thewrap-xa-resourceelement- Specified by:
removeWrapXaResourcein interfaceXaPoolType<T>- Returns:
- the current instance of
XaPoolType
-
-