|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.ejbjar31.ConcurrentMethodTypeImpl<T>
public class ConcurrentMethodTypeImpl<T>
This class implements 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.
| Constructor Summary | |
|---|---|
ConcurrentMethodTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
ConcurrentMethodTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| 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. |
T |
up()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConcurrentMethodTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public ConcurrentMethodTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
| Method Detail |
|---|
public T up()
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>public ConcurrentMethodType<T> removeMethod()
method element
removeMethod in interface ConcurrentMethodType<T>ConcurrentMethodTypepublic NamedMethodType<ConcurrentMethodType<T>> method()
method element will be created and returned.
Otherwise, the existing method element will be returned.
method in interface ConcurrentMethodType<T>methodpublic 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.
setLock in interface ConcurrentMethodType<T>ConcurrentMethodTypepublic 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.
setLock in interface ConcurrentMethodType<T>ConcurrentMethodTypepublic ConcurrentLockTypeType getLock()
lock element
getLock in interface ConcurrentMethodType<T>lockpublic java.lang.String getLockAsString()
lock element
getLockAsString in interface ConcurrentMethodType<T>lockpublic ConcurrentMethodType<T> removeAccessTimeout()
access-timeout element
removeAccessTimeout in interface ConcurrentMethodType<T>ConcurrentMethodTypepublic AccessTimeoutType<ConcurrentMethodType<T>> accessTimeout()
access-timeout element will be created and returned.
Otherwise, the existing access-timeout element will be returned.
accessTimeout in interface ConcurrentMethodType<T>access-timeout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||