public abstract class EJBComponent extends BasicComponent implements org.jboss.as.server.suspend.ServerActivityCallback
| Modifier | Constructor and Description |
|---|---|
protected |
EJBComponent(EJBComponentCreateService ejbComponentCreateService)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
createViewInstanceProxy(Class<T> viewInterface,
Map<Object,Object> contextData) |
protected <T> T |
createViewInstanceProxy(Class<T> viewInterface,
Map<Object,Object> contextData,
org.jboss.msc.service.ServiceName serviceName) |
void |
done() |
AllowedMethodsInformation |
getAllowedMethodsInformation() |
ApplicationExceptionDetails |
getApplicationException(Class<?> exceptionClass,
Method invokedMethod) |
String |
getApplicationName() |
Principal |
getCallerPrincipal() |
EJBComponentDescription |
getComponentDescription() |
org.wildfly.extension.requestcontroller.ControlPoint |
getControlPoint() |
protected javax.ejb.TransactionAttributeType |
getCurrentTransactionAttribute() |
String |
getDistinctName() |
String |
getEarApplicationName() |
javax.ejb.EJBHome |
getEJBHome() |
javax.ejb.EJBLocalHome |
getEJBLocalHome() |
Class<?> |
getEjbLocalObjectType() |
org.jboss.msc.service.ServiceName |
getEjbLocalObjectViewServiceName() |
Class<?> |
getEjbObjectType() |
org.jboss.msc.service.ServiceName |
getEjbObjectViewServiceName() |
EJBSuspendHandlerService |
getEjbSuspendHandlerService() |
Function<org.wildfly.security.auth.server.SecurityIdentity,Set<org.wildfly.security.auth.server.SecurityIdentity>> |
getIdentityOutflowFunction() |
org.wildfly.security.auth.server.SecurityIdentity |
getIncomingRunAsIdentity() |
InvocationMetrics |
getInvocationMetrics() |
String |
getModuleName() |
boolean |
getRollbackOnly() |
org.wildfly.security.auth.server.SecurityDomain |
getSecurityDomain() |
ServerSecurityManager |
getSecurityManager() |
EJBSecurityMetaData |
getSecurityMetaData() |
protected ShutDownInterceptorFactory |
getShutDownInterceptorFactory() |
Map<Method,org.jboss.invocation.InterceptorFactory> |
getTimeoutInterceptors() |
Method |
getTimeoutMethod() |
javax.ejb.TimerService |
getTimerService() |
javax.ejb.TransactionAttributeType |
getTransactionAttributeType(MethodIntf methodIntf,
Method method) |
javax.ejb.TransactionAttributeType |
getTransactionAttributeType(MethodIntf methodIntf,
org.jboss.invocation.proxy.MethodIdentifier method) |
javax.ejb.TransactionAttributeType |
getTransactionAttributeType(MethodIntf methodIntf,
org.jboss.invocation.proxy.MethodIdentifier method,
javax.ejb.TransactionAttributeType defaultType) |
TransactionManager |
getTransactionManager()
Deprecated.
Use
ContextTransactionManager.getInstance() instead. |
TransactionSynchronizationRegistry |
getTransactionSynchronizationRegistry() |
int |
getTransactionTimeout(MethodIntf methodIntf,
Method method) |
int |
getTransactionTimeout(MethodIntf methodIntf,
org.jboss.invocation.proxy.MethodIdentifier method) |
UserTransaction |
getUserTransaction() |
void |
init() |
boolean |
isBeanManagedTransaction() |
boolean |
isCallerInRole(String roleName) |
boolean |
isExceptionLoggingEnabled() |
boolean |
isSecurityDomainKnown() |
boolean |
isStatisticsEnabled() |
boolean |
isTransactionAttributeTypeExplicit(MethodIntf methodIntf,
org.jboss.invocation.proxy.MethodIdentifier method) |
Object |
lookup(String name) |
void |
setIncomingRunAsIdentity(org.wildfly.security.auth.server.SecurityIdentity identity) |
void |
setRollbackOnly() |
void |
stop() |
componentInstanceCreated, constructComponentInstance, constructComponentInstance, createInstance, createInstance, createInterceptors, getComponentClass, getComponentName, getCreateServiceName, getInstance, getNamespaceContextSelector, instantiateComponentInstance, serviceNameOf, start, toString, waitForComponentStartclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisRemotableprotected EJBComponent(EJBComponentCreateService ejbComponentCreateService)
ejbComponentCreateService - the component configurationprotected <T> T createViewInstanceProxy(Class<T> viewInterface, Map<Object,Object> contextData)
protected <T> T createViewInstanceProxy(Class<T> viewInterface, Map<Object,Object> contextData, org.jboss.msc.service.ServiceName serviceName)
public ApplicationExceptionDetails getApplicationException(Class<?> exceptionClass, Method invokedMethod)
public Principal getCallerPrincipal()
public org.wildfly.security.auth.server.SecurityIdentity getIncomingRunAsIdentity()
public void setIncomingRunAsIdentity(org.wildfly.security.auth.server.SecurityIdentity identity)
protected javax.ejb.TransactionAttributeType getCurrentTransactionAttribute()
public javax.ejb.EJBHome getEJBHome()
throws IllegalStateException
IllegalStateExceptionpublic Class<?> getEjbObjectType()
public Class<?> getEjbLocalObjectType()
public javax.ejb.EJBLocalHome getEJBLocalHome()
throws IllegalStateException
IllegalStateExceptionpublic boolean getRollbackOnly()
throws IllegalStateException
IllegalStateExceptionpublic ServerSecurityManager getSecurityManager()
public javax.ejb.TimerService getTimerService()
throws IllegalStateException
IllegalStateExceptionpublic javax.ejb.TransactionAttributeType getTransactionAttributeType(MethodIntf methodIntf, Method method)
public javax.ejb.TransactionAttributeType getTransactionAttributeType(MethodIntf methodIntf, org.jboss.invocation.proxy.MethodIdentifier method)
public javax.ejb.TransactionAttributeType getTransactionAttributeType(MethodIntf methodIntf, org.jboss.invocation.proxy.MethodIdentifier method, javax.ejb.TransactionAttributeType defaultType)
public boolean isTransactionAttributeTypeExplicit(MethodIntf methodIntf, org.jboss.invocation.proxy.MethodIdentifier method)
@Deprecated public TransactionManager getTransactionManager()
ContextTransactionManager.getInstance() instead.ContextTransactionManager.getInstance()public TransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
public int getTransactionTimeout(MethodIntf methodIntf, Method method)
public int getTransactionTimeout(MethodIntf methodIntf, org.jboss.invocation.proxy.MethodIdentifier method)
public UserTransaction getUserTransaction() throws IllegalStateException
IllegalStateExceptionpublic boolean isBeanManagedTransaction()
public boolean isCallerInRole(String roleName) throws IllegalStateException
IllegalStateExceptionpublic boolean isStatisticsEnabled()
public Object lookup(String name) throws IllegalArgumentException
IllegalArgumentExceptionpublic void setRollbackOnly()
throws IllegalStateException
IllegalStateExceptionpublic EJBSecurityMetaData getSecurityMetaData()
public Method getTimeoutMethod()
public String getApplicationName()
public String getEarApplicationName()
public String getDistinctName()
public String getModuleName()
public org.jboss.msc.service.ServiceName getEjbLocalObjectViewServiceName()
public org.jboss.msc.service.ServiceName getEjbObjectViewServiceName()
public Map<Method,org.jboss.invocation.InterceptorFactory> getTimeoutInterceptors()
public AllowedMethodsInformation getAllowedMethodsInformation()
public InvocationMetrics getInvocationMetrics()
public org.wildfly.extension.requestcontroller.ControlPoint getControlPoint()
public org.wildfly.security.auth.server.SecurityDomain getSecurityDomain()
public boolean isSecurityDomainKnown()
public Function<org.wildfly.security.auth.server.SecurityIdentity,Set<org.wildfly.security.auth.server.SecurityIdentity>> getIdentityOutflowFunction()
public void init()
init in class BasicComponentpublic final void stop()
stop in interface Componentstop in class BasicComponentpublic void done()
done in interface org.jboss.as.server.suspend.ServerActivityCallbackpublic boolean isExceptionLoggingEnabled()
protected ShutDownInterceptorFactory getShutDownInterceptorFactory()
public EJBSuspendHandlerService getEjbSuspendHandlerService()
public EJBComponentDescription getComponentDescription()
Copyright © 2021 JBoss by Red Hat. All rights reserved.