|
||||||||||
| 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
ConcurrentMethodTypeNamedMethodType<ConcurrentMethodType<T>> method()
method element will be created and returned.
Otherwise, the existing method element will be returned.
methodConcurrentMethodType<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.
ConcurrentMethodTypeConcurrentMethodType<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.
ConcurrentMethodTypeConcurrentLockTypeType getLock()
lock element
lockjava.lang.String getLockAsString()
lock element
lockConcurrentMethodType<T> removeAccessTimeout()
access-timeout element
ConcurrentMethodTypeAccessTimeoutType<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 | |||||||||