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, getModuleName, getRollbackOnly, getSecurityManager, getSecurityMetaData, getTimeoutInterceptors, getTimeoutMethod, getTimerService, getTransactionAttributeType, getTransactionManager, getTransactionSynchronizationRegistry, getTransactionTimeout, getUserTransaction, isCallerInRole, lookup, setRollbackOnlycomponentInstanceCreated, constructComponentInstance, createInstance, createInstance, getComponentClass, getComponentName, getCreateServiceName, getNamespaceContextSelector, start, stop, toString, waitForComponentStartclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateInstance, getComponentClass, getNamespaceContextSelector, start, stoppublic 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)
BasicComponentBasicComponentInstance. 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 BasicComponentprotected 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
IllegalStateExceptionpublic javax.ejb.EJBObject getEJBObject(Object pk) throws IllegalStateException
IllegalStateExceptionpublic 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 EJBComponentCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.