|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConcurrentMethodType<T>
This interface defines the contract for the concurrent-methodType
xsd type
Original Documentation:
The concurrent-methodType specifies information about a method
of a bean with container managed concurrency.
The optional lock element specifies the kind of concurrency
lock asssociated with the method.
The optional access-timeout element specifies the amount of
time (in a given time unit) the container should wait for a
concurrency lock before throwing an exception to the client.
Method Summary | |
---|---|
AccessTimeoutType<ConcurrentMethodType<T>> |
accessTimeout()
If not already created, a new access-timeout element will be created and returned. |
ConcurrentLockTypeType |
getLock()
Returns the lock element |
java.lang.String |
getLockAsString()
Returns the lock element |
NamedMethodType<ConcurrentMethodType<T>> |
method()
If not already created, a new method element will be created and returned. |
ConcurrentMethodType<T> |
removeAccessTimeout()
Removes the access-timeout element |
ConcurrentMethodType<T> |
removeMethod()
Removes the method element |
ConcurrentMethodType<T> |
setLock(ConcurrentLockTypeType lock)
If not already created, a new lock element with the given value will be created. |
ConcurrentMethodType<T> |
setLock(java.lang.String lock)
If not already created, a new lock element with the given value will be created. |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
ConcurrentMethodType<T> removeMethod()
method
element
ConcurrentMethodType
NamedMethodType<ConcurrentMethodType<T>> method()
method
element will be created and returned.
Otherwise, the existing method
element will be returned.
method
ConcurrentMethodType<T> setLock(ConcurrentLockTypeType lock)
lock
element with the given value will be created.
Otherwise, the existing lock
element will be updated with the given value.
ConcurrentMethodType
ConcurrentMethodType<T> setLock(java.lang.String lock)
lock
element with the given value will be created.
Otherwise, the existing lock
element will be updated with the given value.
ConcurrentMethodType
ConcurrentLockTypeType getLock()
lock
element
lock
java.lang.String getLockAsString()
lock
element
lock
ConcurrentMethodType<T> removeAccessTimeout()
access-timeout
element
ConcurrentMethodType
AccessTimeoutType<ConcurrentMethodType<T>> accessTimeout()
access-timeout
element will be created and returned.
Otherwise, the existing access-timeout
element will be returned.
access-timeout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |