public class CmpEntityBeanComponent extends EntityBeanComponent
PRIMARY_KEY_CONTEXT_KEY| Constructor and Description |
|---|
CmpEntityBeanComponent(CmpEntityBeanComponentCreateService ejbComponentCreateService,
org.jboss.msc.value.Value<JDBCEntityPersistenceStore> storeManager) |
| Modifier and Type | Method and Description |
|---|---|
protected ReadyEntityCache |
createEntityCache(EntityBeanComponentCreateService ejbComponentCreateService) |
AllowedMethodsInformation |
getAllowedMethodsInformation() |
javax.ejb.EJBLocalHome |
getEJBLocalHome() |
Collection<Object> |
getEntityLocalCollection(List<Object> idList) |
JDBCEntityPersistenceStore |
getStoreManager() |
TransactionEntityMap |
getTransactionEntityMap() |
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. |
Object |
invoke(CMRMessage message,
Object key,
Object... params) |
void |
invokeEjbStore(CmpEntityBeanContext ctx)
Invokes ejbStore method on the instance
|
void |
start()
Start operation called when the Component is available.
|
void |
storeEntity(CmpEntityBeanContext ctx) |
void |
synchronizeEntitiesWithinTransaction(Transaction transaction) |
acquireUnAssociatedInstance, createInterceptor, getCache, getEjbActivate, getEjbActivateMethod, getEjbLoad, getEjbLoadMethod, getEJBLocalObject, getEJBObject, getEjbPassivate, getEjbPassivateMethod, getEjbStore, getEjbStoreMethod, getHomeClass, getLocalClass, getLocalHomeClass, getPool, getPoolName, getPrimaryKeyClass, getRemoteClass, getUnsetEntityContext, getUnsetEntityContextMethod, releaseEntityBeanInstancecreateViewInstanceProxy, createViewInstanceProxy, getApplicationException, getApplicationName, getCallerPrincipal, getCurrentTransactionAttribute, getDistinctName, getEarApplicationName, getEJBHome, getEjbHomeViewServiceName, 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, stop, toString, waitForComponentStartclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreateInstance, getComponentClass, getNamespaceContextSelector, stoppublic CmpEntityBeanComponent(CmpEntityBeanComponentCreateService ejbComponentCreateService, org.jboss.msc.value.Value<JDBCEntityPersistenceStore> storeManager)
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 EntityBeanComponentpublic void start()
BasicComponentstart in interface Componentstart in class BasicComponentpublic Collection<Object> getEntityLocalCollection(List<Object> idList)
public void synchronizeEntitiesWithinTransaction(Transaction transaction)
public javax.ejb.EJBLocalHome getEJBLocalHome()
throws IllegalStateException
getEJBLocalHome in class EJBComponentIllegalStateExceptionpublic JDBCEntityPersistenceStore getStoreManager()
public Object invoke(CMRMessage message, Object key, Object... params) throws Exception
Exceptionpublic void invokeEjbStore(CmpEntityBeanContext ctx) throws Exception
ctx - the instance to invoke ejbStore onExceptionpublic void storeEntity(CmpEntityBeanContext ctx) throws Exception
Exceptionpublic TransactionEntityMap getTransactionEntityMap()
protected ReadyEntityCache createEntityCache(EntityBeanComponentCreateService ejbComponentCreateService)
createEntityCache in class EntityBeanComponentpublic AllowedMethodsInformation getAllowedMethodsInformation()
getAllowedMethodsInformation in class EntityBeanComponentCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.