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() |
org.wildfly.extension.requestcontroller.ControlPoint |
getControlPoint() |
protected javax.ejb.TransactionAttributeType |
getCurrentTransactionAttribute() |
String |
getDistinctName() |
String |
getEarApplicationName() |
javax.ejb.EJBHome |
getEJBHome() |
org.jboss.msc.service.ServiceName |
getEjbHomeViewServiceName() |
javax.ejb.EJBLocalHome |
getEJBLocalHome() |
org.jboss.msc.service.ServiceName |
getEjbLocalHomeViewServiceName() |
Class<?> |
getEjbLocalObjectType() |
org.jboss.msc.service.ServiceName |
getEjbLocalObjectViewServiceName() |
Class<?> |
getEjbObjectType() |
org.jboss.msc.service.ServiceName |
getEjbObjectViewServiceName() |
EJBRemoteTransactionsRepository |
getEjbRemoteTransactionsRepository()
Returns the
EJBRemoteTransactionsRepository if there is at least one remote view (either
ejb3.x business remote, ejb2.x remote component or home view) is exposed. |
InvocationMetrics |
getInvocationMetrics() |
String |
getModuleName() |
boolean |
getRollbackOnly() |
org.jboss.as.core.security.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() |
TransactionSynchronizationRegistry |
getTransactionSynchronizationRegistry() |
int |
getTransactionTimeout(MethodIntf methodIntf,
Method method) |
int |
getTransactionTimeout(MethodIntf methodIntf,
org.jboss.invocation.proxy.MethodIdentifier method) |
UserTransaction |
getUserTransaction() |
boolean |
isBeanManagedTransaction() |
boolean |
isCallerInRole(String roleName) |
boolean |
isExceptionLoggingEnabled() |
boolean |
isStatisticsEnabled() |
Object |
lookup(String name) |
void |
setRollbackOnly() |
void |
start()
Start operation called when the Component is available.
|
void |
stop()
Stop operation called when the Component is no longer available.
|
componentInstanceCreated, constructComponentInstance, constructComponentInstance, createInstance, createInstance, createInterceptors, getComponentClass, getComponentName, getCreateServiceName, getNamespaceContextSelector, instantiateComponentInstance, serviceNameOf, 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()
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 org.jboss.as.core.security.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 TransactionManager getTransactionManager()
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 getEjbLocalHomeViewServiceName()
public org.jboss.msc.service.ServiceName getEjbHomeViewServiceName()
public org.jboss.msc.service.ServiceName getEjbObjectViewServiceName()
public Map<Method,org.jboss.invocation.InterceptorFactory> getTimeoutInterceptors()
public EJBRemoteTransactionsRepository getEjbRemoteTransactionsRepository()
EJBRemoteTransactionsRepository if there is at least one remote view (either
ejb3.x business remote, ejb2.x remote component or home view) is exposed. Else returns null.public AllowedMethodsInformation getAllowedMethodsInformation()
public InvocationMetrics getInvocationMetrics()
public org.wildfly.extension.requestcontroller.ControlPoint getControlPoint()
public void start()
BasicComponentstart in interface Componentstart in class BasicComponentpublic final void stop()
BasicComponentstop in interface Componentstop in class BasicComponentpublic void done()
done in interface org.jboss.as.server.suspend.ServerActivityCallbackpublic boolean isExceptionLoggingEnabled()
protected ShutDownInterceptorFactory getShutDownInterceptorFactory()
Copyright © 2023 JBoss by Red Hat. All rights reserved.