|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatefulTimeoutType<T>
This interface defines the contract for the stateful-timeoutType
xsd type
Original Documentation:
The stateful-timeoutType represents the amount of time
a stateful session bean can be idle(not receive any client
invocations) before it is eligible for removal by the container.
A timeout value of 0 means the bean is immediately eligible for removal.
A timeout value of -1 means the bean will never be removed due to timeout.
Method Summary | |
---|---|
java.lang.Integer |
getTimeout()
Returns the timeout element |
TimeUnitTypeType |
getUnit()
Returns the unit element |
java.lang.String |
getUnitAsString()
Returns the unit element |
StatefulTimeoutType<T> |
removeTimeout()
Removes the timeout element |
StatefulTimeoutType<T> |
setTimeout(java.lang.Integer timeout)
If not already created, a new timeout element with the given value will be created. |
StatefulTimeoutType<T> |
setUnit(java.lang.String unit)
If not already created, a new unit element with the given value will be created. |
StatefulTimeoutType<T> |
setUnit(TimeUnitTypeType unit)
If not already created, a new unit element with the given value will be created. |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
StatefulTimeoutType<T> setTimeout(java.lang.Integer timeout)
timeout
element with the given value will be created.
Otherwise, the existing timeout
element will be updated with the given value.
StatefulTimeoutType
StatefulTimeoutType<T> removeTimeout()
timeout
element
StatefulTimeoutType
java.lang.Integer getTimeout()
timeout
element
timeout
StatefulTimeoutType<T> setUnit(TimeUnitTypeType unit)
unit
element with the given value will be created.
Otherwise, the existing unit
element will be updated with the given value.
StatefulTimeoutType
StatefulTimeoutType<T> setUnit(java.lang.String unit)
unit
element with the given value will be created.
Otherwise, the existing unit
element will be updated with the given value.
StatefulTimeoutType
TimeUnitTypeType getUnit()
unit
element
unit
java.lang.String getUnitAsString()
unit
element
unit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |