public class EntityBeanComponent extends EJBComponent implements PooledComponent<EntityBeanComponentInstance>
Modifier and Type | Field and Description |
---|---|
static Object |
PRIMARY_KEY_CONTEXT_KEY |
Modifier | Constructor and Description |
---|---|
protected |
EntityBeanComponent(EntityBeanComponentCreateService ejbComponentCreateService) |
createViewInstanceProxy, createViewInstanceProxy, getApplicationException, getApplicationName, getCallerPrincipal, getCurrentTransactionAttribute, getDistinctName, getEarApplicationName, getEJBHome, getEjbHomeViewServiceName, getEJBLocalHome, getEjbLocalHomeViewServiceName, getEjbLocalObjectType, getEjbLocalObjectViewServiceName, getEjbObjectType, getEjbObjectViewServiceName, getEjbRemoteTransactionsRepository, getInvocationMetrics, getModuleName, getRollbackOnly, getSecurityManager, getSecurityMetaData, getShutDownInterceptorFactory, getTimeoutInterceptors, getTimeoutMethod, getTimerService, getTransactionAttributeType, getTransactionAttributeType, getTransactionManager, getTransactionSynchronizationRegistry, getTransactionTimeout, getTransactionTimeout, getUserTransaction, isBeanManagedTransaction, isCallerInRole, isStatisticsEnabled, lookup, setRollbackOnly, start, stop
componentInstanceCreated, constructComponentInstance, constructComponentInstance, createInstance, createInstance, getComponentClass, getComponentName, getCreateServiceName, getNamespaceContextSelector, serviceNameOf, toString, waitForComponentStart
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
createInstance, createInstance, getComponentClass, getNamespaceContextSelector, start, stop
public static final Object PRIMARY_KEY_CONTEXT_KEY
protected EntityBeanComponent(EntityBeanComponentCreateService ejbComponentCreateService)
protected BasicComponentInstance instantiateComponentInstance(org.jboss.invocation.Interceptor preDestroyInterceptor, Map<Method,org.jboss.invocation.Interceptor> methodInterceptors, Map<Object,Object> context)
BasicComponent
BasicComponentInstance
. This method is *not* responsible for
handling the post construct activities like injection and lifecycle invocation. That is handled by
BasicComponent.constructComponentInstance(org.jboss.as.naming.ManagedReference, boolean)
.
instantiateComponentInstance
in class BasicComponent
public EntityBeanComponentInstance acquireUnAssociatedInstance()
protected void createInterceptors(org.jboss.invocation.InterceptorFactoryContext context)
createInterceptors
in class BasicComponent
public void releaseEntityBeanInstance(EntityBeanComponentInstance instance)
public ReadyEntityCache getCache()
protected ReadyEntityCache createEntityCache(EntityBeanComponentCreateService ejbComponentCreateService)
public javax.ejb.EJBLocalObject getEJBLocalObject(Object pk) throws IllegalStateException
IllegalStateException
public javax.ejb.EJBObject getEJBObject(Object pk) throws IllegalStateException
IllegalStateException
public Class<javax.ejb.EJBHome> getHomeClass()
public Class<javax.ejb.EJBLocalHome> getLocalHomeClass()
public Class<javax.ejb.EJBLocalObject> getLocalClass()
public Class<javax.ejb.EJBObject> getRemoteClass()
public Method getEjbStoreMethod()
public Method getEjbLoadMethod()
public Method getEjbActivateMethod()
public org.jboss.invocation.Interceptor getEjbStore()
public org.jboss.invocation.Interceptor getEjbLoad()
public org.jboss.invocation.Interceptor getEjbActivate()
public Method getEjbPassivateMethod()
public org.jboss.invocation.Interceptor getEjbPassivate()
public Method getUnsetEntityContextMethod()
public org.jboss.invocation.Interceptor getUnsetEntityContext()
public Pool<EntityBeanComponentInstance> getPool()
getPool
in interface PooledComponent<EntityBeanComponentInstance>
public String getPoolName()
getPoolName
in interface PooledComponent<EntityBeanComponentInstance>
public AllowedMethodsInformation getAllowedMethodsInformation()
getAllowedMethodsInformation
in class EJBComponent
Copyright © 2014 JBoss by Red Hat. All rights reserved.