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) |
Modifier and Type | Method and Description |
---|---|
EntityBeanComponentInstance |
acquireUnAssociatedInstance() |
protected ReadyEntityCache |
createEntityCache(EntityBeanComponentCreateService ejbComponentCreateService) |
protected org.jboss.invocation.Interceptor |
createInterceptor(org.jboss.invocation.InterceptorFactory factory) |
AllowedMethodsInformation |
getAllowedMethodsInformation() |
ReadyEntityCache |
getCache() |
org.jboss.invocation.InterceptorFactory |
getEjbActivate() |
Method |
getEjbActivateMethod() |
org.jboss.invocation.InterceptorFactory |
getEjbLoad() |
Method |
getEjbLoadMethod() |
javax.ejb.EJBLocalObject |
getEJBLocalObject(Object pk) |
javax.ejb.EJBObject |
getEJBObject(Object pk) |
org.jboss.invocation.InterceptorFactory |
getEjbPassivate() |
Method |
getEjbPassivateMethod() |
org.jboss.invocation.InterceptorFactory |
getEjbStore() |
Method |
getEjbStoreMethod() |
Class<javax.ejb.EJBHome> |
getHomeClass() |
Class<javax.ejb.EJBLocalObject> |
getLocalClass() |
Class<javax.ejb.EJBLocalHome> |
getLocalHomeClass() |
Pool<EntityBeanComponentInstance> |
getPool() |
String |
getPoolName() |
Class<Object> |
getPrimaryKeyClass() |
Class<javax.ejb.EJBObject> |
getRemoteClass() |
org.jboss.invocation.InterceptorFactory |
getUnsetEntityContext() |
Method |
getUnsetEntityContextMethod() |
protected BasicComponentInstance |
instantiateComponentInstance(AtomicReference<ManagedReference> instanceReference,
org.jboss.invocation.Interceptor preDestroyInterceptor,
Map<Method,org.jboss.invocation.Interceptor> methodInterceptors,
org.jboss.invocation.InterceptorFactoryContext interceptorContext)
Responsible for instantiating the
BasicComponentInstance . |
void |
releaseEntityBeanInstance(EntityBeanComponentInstance instance) |
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, 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(AtomicReference<ManagedReference> instanceReference, org.jboss.invocation.Interceptor preDestroyInterceptor, Map<Method,org.jboss.invocation.Interceptor> methodInterceptors, org.jboss.invocation.InterceptorFactoryContext interceptorContext)
BasicComponent
BasicComponentInstance
. This method is *not* responsible for
handling the post construct activities like injection and lifecycle invocation. That is handled by
BasicComponent.constructComponentInstance(ManagedReference, boolean, InterceptorFactoryContext)
.
instantiateComponentInstance
in class BasicComponent
protected org.jboss.invocation.Interceptor createInterceptor(org.jboss.invocation.InterceptorFactory factory)
public EntityBeanComponentInstance acquireUnAssociatedInstance()
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.InterceptorFactory getEjbStore()
public org.jboss.invocation.InterceptorFactory getEjbLoad()
public org.jboss.invocation.InterceptorFactory getEjbActivate()
public Method getEjbPassivateMethod()
public org.jboss.invocation.InterceptorFactory getEjbPassivate()
public Method getUnsetEntityContextMethod()
public org.jboss.invocation.InterceptorFactory 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 © 2013 JBoss by Red Hat. All rights reserved.