Class TimeoutTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.ironjacamar12.impl.TimeoutTypeImpl<T>
-
- All Implemented Interfaces:
TimeoutType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class TimeoutTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, TimeoutType<T>
This class implements thetimeoutTypexsd type
-
-
Constructor Summary
Constructors Constructor Description TimeoutTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)TimeoutTypeImpl(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 TimeoutType<T>allocationRetry(Integer allocationRetry)Sets theallocation-retryelementTimeoutType<T>allocationRetryWaitMillis(Integer allocationRetryWaitMillis)Sets theallocation-retry-wait-milliselementTimeoutType<T>blockingTimeoutMillis(Integer blockingTimeoutMillis)Sets theblocking-timeout-milliselementIntegergetAllocationRetry()Returns theallocation-retryelementIntegergetAllocationRetryWaitMillis()Returns theallocation-retry-wait-milliselementIntegergetBlockingTimeoutMillis()Returns theblocking-timeout-milliselementIntegergetIdleTimeoutMinutes()Returns theidle-timeout-minuteselementIntegergetXaResourceTimeout()Returns thexa-resource-timeoutelementTimeoutType<T>idleTimeoutMinutes(Integer idleTimeoutMinutes)Sets theidle-timeout-minuteselementTimeoutType<T>removeAllocationRetry()Removes theallocation-retryelementTimeoutType<T>removeAllocationRetryWaitMillis()Removes theallocation-retry-wait-milliselementTimeoutType<T>removeBlockingTimeoutMillis()Removes theblocking-timeout-milliselementTimeoutType<T>removeIdleTimeoutMinutes()Removes theidle-timeout-minuteselementTimeoutType<T>removeXaResourceTimeout()Removes thexa-resource-timeoutelementTup()TimeoutType<T>xaResourceTimeout(Integer xaResourceTimeout)Sets thexa-resource-timeoutelement
-
-
-
Method Detail
-
blockingTimeoutMillis
public TimeoutType<T> blockingTimeoutMillis(Integer blockingTimeoutMillis)
Sets theblocking-timeout-milliselement- Specified by:
blockingTimeoutMillisin interfaceTimeoutType<T>- Parameters:
blockingTimeoutMillis- the value for the elementblocking-timeout-millis- Returns:
- the current instance of
TimeoutType
-
getBlockingTimeoutMillis
public Integer getBlockingTimeoutMillis()
Returns theblocking-timeout-milliselement- Specified by:
getBlockingTimeoutMillisin interfaceTimeoutType<T>- Returns:
- the node defined for the element
blocking-timeout-millis
-
removeBlockingTimeoutMillis
public TimeoutType<T> removeBlockingTimeoutMillis()
Removes theblocking-timeout-milliselement- Specified by:
removeBlockingTimeoutMillisin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
idleTimeoutMinutes
public TimeoutType<T> idleTimeoutMinutes(Integer idleTimeoutMinutes)
Sets theidle-timeout-minuteselement- Specified by:
idleTimeoutMinutesin interfaceTimeoutType<T>- Parameters:
idleTimeoutMinutes- the value for the elementidle-timeout-minutes- Returns:
- the current instance of
TimeoutType
-
getIdleTimeoutMinutes
public Integer getIdleTimeoutMinutes()
Returns theidle-timeout-minuteselement- Specified by:
getIdleTimeoutMinutesin interfaceTimeoutType<T>- Returns:
- the node defined for the element
idle-timeout-minutes
-
removeIdleTimeoutMinutes
public TimeoutType<T> removeIdleTimeoutMinutes()
Removes theidle-timeout-minuteselement- Specified by:
removeIdleTimeoutMinutesin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
allocationRetry
public TimeoutType<T> allocationRetry(Integer allocationRetry)
Sets theallocation-retryelement- Specified by:
allocationRetryin interfaceTimeoutType<T>- Parameters:
allocationRetry- the value for the elementallocation-retry- Returns:
- the current instance of
TimeoutType
-
getAllocationRetry
public Integer getAllocationRetry()
Returns theallocation-retryelement- Specified by:
getAllocationRetryin interfaceTimeoutType<T>- Returns:
- the node defined for the element
allocation-retry
-
removeAllocationRetry
public TimeoutType<T> removeAllocationRetry()
Removes theallocation-retryelement- Specified by:
removeAllocationRetryin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
allocationRetryWaitMillis
public TimeoutType<T> allocationRetryWaitMillis(Integer allocationRetryWaitMillis)
Sets theallocation-retry-wait-milliselement- Specified by:
allocationRetryWaitMillisin interfaceTimeoutType<T>- Parameters:
allocationRetryWaitMillis- the value for the elementallocation-retry-wait-millis- Returns:
- the current instance of
TimeoutType
-
getAllocationRetryWaitMillis
public Integer getAllocationRetryWaitMillis()
Returns theallocation-retry-wait-milliselement- Specified by:
getAllocationRetryWaitMillisin interfaceTimeoutType<T>- Returns:
- the node defined for the element
allocation-retry-wait-millis
-
removeAllocationRetryWaitMillis
public TimeoutType<T> removeAllocationRetryWaitMillis()
Removes theallocation-retry-wait-milliselement- Specified by:
removeAllocationRetryWaitMillisin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
xaResourceTimeout
public TimeoutType<T> xaResourceTimeout(Integer xaResourceTimeout)
Sets thexa-resource-timeoutelement- Specified by:
xaResourceTimeoutin interfaceTimeoutType<T>- Parameters:
xaResourceTimeout- the value for the elementxa-resource-timeout- Returns:
- the current instance of
TimeoutType
-
getXaResourceTimeout
public Integer getXaResourceTimeout()
Returns thexa-resource-timeoutelement- Specified by:
getXaResourceTimeoutin interfaceTimeoutType<T>- Returns:
- the node defined for the element
xa-resource-timeout
-
removeXaResourceTimeout
public TimeoutType<T> removeXaResourceTimeout()
Removes thexa-resource-timeoutelement- Specified by:
removeXaResourceTimeoutin interfaceTimeoutType<T>- Returns:
- the current instance of
TimeoutType
-
-