public class AllowedMethodsInformation extends Object
CurrentInvocationContext
,
CurrentSynchronizationCallback
Modifier and Type | Field and Description |
---|---|
static AllowedMethodsInformation |
INSTANCE_BMT |
static AllowedMethodsInformation |
INSTANCE_CMT |
Modifier | Constructor and Description |
---|---|
protected |
AllowedMethodsInformation(boolean beanManagedTransaction) |
Modifier and Type | Method and Description |
---|---|
protected static void |
add(Set<org.jboss.as.ejb3.component.allowedmethods.AllowedMethodsInformation.DeniedSyncMethodKey> otherDenied,
CurrentSynchronizationCallback.CallbackType callbackType,
MethodType timerServiceMethod) |
protected static void |
add(Set<DeniedMethodKey> otherDenied,
InvocationType setEntityContext,
MethodType timerServiceMethod) |
static void |
checkAllowed(MethodType methodType)
Checks that the current method
|
protected void |
realCheckPermission(MethodType methodType,
InvocationType invocationType) |
protected void |
setup(Set<DeniedMethodKey> denied) |
protected void |
throwException(MethodType methodType,
CurrentSynchronizationCallback.CallbackType callback)
throw an exception when a method cannot be invoked
|
protected void |
throwException(MethodType methodType,
InvocationType invocationType)
throw an exception when a method cannot be invoked
|
public static final AllowedMethodsInformation INSTANCE_BMT
public static final AllowedMethodsInformation INSTANCE_CMT
protected AllowedMethodsInformation(boolean beanManagedTransaction)
protected void setup(Set<DeniedMethodKey> denied)
protected static void add(Set<DeniedMethodKey> otherDenied, InvocationType setEntityContext, MethodType timerServiceMethod)
protected static void add(Set<org.jboss.as.ejb3.component.allowedmethods.AllowedMethodsInformation.DeniedSyncMethodKey> otherDenied, CurrentSynchronizationCallback.CallbackType callbackType, MethodType timerServiceMethod)
public static void checkAllowed(MethodType methodType)
protected void realCheckPermission(MethodType methodType, InvocationType invocationType)
protected void throwException(MethodType methodType, InvocationType invocationType)
methodType
- the methodinvocationType
- the type of invocation that caused it to be disabledprotected void throwException(MethodType methodType, CurrentSynchronizationCallback.CallbackType callback)
methodType
- the methodcallback
- the type of invocation that caused it to be disabledCopyright © 2014 JBoss by Red Hat. All rights reserved.