public class MethodContext
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MethodContext.InterfaceMethodContext
Currently (and as a matter of legacy) only EJB 2.x style
interfaces may have different transaction attributes for an
individual interface method.
|
Constructor and Description |
---|
MethodContext(BeanContext beanContext,
java.lang.reflect.Method beanMethod) |
Modifier and Type | Method and Description |
---|---|
void |
addCdiInterceptor(InterceptorData data) |
Duration |
getAccessTimeout() |
BeanContext |
getBeanContext() |
java.lang.reflect.Method |
getBeanMethod() |
java.util.List<InterceptorData> |
getInterceptors() |
LockType |
getLockType() |
java.util.List<ScheduleData> |
getSchedules() |
TransactionType |
getTransactionType() |
boolean |
isAsynchronous() |
void |
setAccessTimeout(Duration accessTimeout) |
void |
setAsynchronous(boolean asynchronous) |
void |
setInterceptors(java.util.List<InterceptorData> interceptors) |
void |
setLockType(LockType lockType) |
void |
setSelfInterception(InterceptorData data) |
void |
setTransactionType(TransactionType transactionType) |
public MethodContext(BeanContext beanContext, java.lang.reflect.Method beanMethod)
public void setSelfInterception(InterceptorData data)
public void setAccessTimeout(Duration accessTimeout)
public Duration getAccessTimeout()
public BeanContext getBeanContext()
public java.lang.reflect.Method getBeanMethod()
public void addCdiInterceptor(InterceptorData data)
public void setInterceptors(java.util.List<InterceptorData> interceptors)
public java.util.List<InterceptorData> getInterceptors()
public LockType getLockType()
public void setLockType(LockType lockType)
public TransactionType getTransactionType()
public void setTransactionType(TransactionType transactionType)
public java.util.List<ScheduleData> getSchedules()
public boolean isAsynchronous()
public void setAsynchronous(boolean asynchronous)