public interface LockableComponent
LockableComponent represents the runtime component of an EJB. It is meant to provide access to EJB
metadata for Lock management interceptors.
| Modifier and Type | Method and Description |
|---|---|
AccessTimeoutDetails |
getAccessTimeout(Method method)
Returns the
AccessTimeoutDetails applicable for the passed method. |
AccessTimeoutDetails |
getDefaultAccessTimeout()
Returns the default applicable
AccessTimeoutDetails for a component. |
javax.ejb.LockType |
getLockType(Method method)
Returns the
LockType applicable to the passed method. |
javax.ejb.LockType getLockType(Method method)
LockType applicable to the passed method.
If there is no explicit LockType specified for the passed method then this method
must return the LockType applicable at the component level or the default applicable LockType.
This method must *not* return a null value.method - The method for which the LockType is being queried. Cannot be null.IllegalArgumentException - If the passed method is nullAccessTimeoutDetails getAccessTimeout(Method method)
AccessTimeoutDetails applicable for the passed method.method - AccessTimeoutDetails getDefaultAccessTimeout()
AccessTimeoutDetails for a component. This value will be used if a method doesn't
explicitly specify an AccessTimeoutDetailsCopyright © 2014 JBoss by Red Hat. All rights reserved.