public abstract class EJBComponent extends BasicComponent
| Modifier | Constructor and Description |
|---|---|
protected |
EJBComponent(EJBComponentCreateService ejbComponentCreateService)
Construct a new instance.
|
componentInstanceCreated, constructComponentInstance, createInstance, createInstance, getComponentClass, getComponentName, getCreateServiceName, getNamespaceContextSelector, instantiateComponentInstance, start, stop, toString, waitForComponentStartprotected 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 SimpleSecurityManager getSecurityManager()
public javax.ejb.TimerService getTimerService()
throws IllegalStateException
IllegalStateExceptionpublic javax.ejb.TransactionAttributeType getTransactionAttributeType(MethodIntf methodIntf, Method method)
public TransactionManager getTransactionManager()
public TransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
public int getTransactionTimeout(MethodIntf methodIntf, Method method)
public UserTransaction getUserTransaction() throws IllegalStateException
IllegalStateExceptionpublic boolean isCallerInRole(String roleName) throws IllegalStateException
IllegalStateExceptionpublic 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 atleast one remote view (either
ejb3.x business remote, ejb2.x remote component or home view) is exposed. Else returns null.public AllowedMethodsInformation getAllowedMethodsInformation()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.