com.sun.ejb.containers
Class CommitCEntityContainer

java.lang.Object
  extended by com.sun.ejb.containers.BaseContainer
      extended by com.sun.ejb.containers.EntityContainer
          extended by com.sun.ejb.containers.CommitCEntityContainer
All Implemented Interfaces:
CacheListener, Container, JavaEEContainer, EjbContainerFacade

public class CommitCEntityContainer
extends EntityContainer


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.ejb.containers.EntityContainer
EntityContainer.CacheProperties, EntityContainer.EJBObjectCacheVictimHandler, EntityContainer.LocalEJBObjectCacheVictimHandler
 
Nested classes/interfaces inherited from class com.sun.ejb.containers.BaseContainer
BaseContainer.ContainerType
 
Field Summary
 
Fields inherited from class com.sun.ejb.containers.EntityContainer
_maxBuckets, beanCacheDes, beanPoolDes, DEFAULT_CACHE_SIZE, DEFAULT_LOAD_FACTOR, defaultCacheEJBO, ejbContainer, ejbLocalObjectStore, ejbObjectStore, ejboRemoved, entityCtxPool, HIGH_WATER_MARK, iased, idleEJBObjectPassivator, idleLocalEJBObjectPassivator, isContainerManagedPers, isReentrant, localStrings, passivationCandidates, readyStore, totalPassivationErrors, totalPassivations
 
Fields inherited from class com.sun.ejb.containers.BaseContainer
_logger, cacheProbeListener, cacheProbeNotifier, callFlowInfo, cmtTimeoutInSeconds, componentId, CONTAINER_INITIALIZING, CONTAINER_ON_HOLD, CONTAINER_STARTED, CONTAINER_STOPPED, CONTAINER_UNDEPLOYED, containerInfo, containerState, containerType, debugMonitorFlag, ejbActivateMethod, ejbClass, ejbContainerUtilImpl, ejbDescriptor, ejbGeneratedOptionalLocalBusinessIntfClass, ejbHome, ejbHomeImpl, ejbHomeStub, ejbIntfMethodInfo, ejbIntfMethods, ejbLocalBusinessHome, ejbLocalBusinessHomeImpl, ejbLocalHome, ejbLocalHomeImpl, ejbMethodStatsManager, ejbOptionalLocalBusinessHome, ejbOptionalLocalBusinessHomeImpl, ejbOptionalLocalBusinessHomeIntf, ejbPassivateMethod, ejbProbeListener, ejbProbeNotifier, ejbRemoteBusinessHome, ejbRemoteBusinessHomeImpl, ejbRemoteBusinessHomeStub, ejbRemoveMethod, ejbTimeoutMethod, envProps, hasLocalBusinessView, hasLocalHomeView, hasOptionalLocalBusinessView, hasRemoteBusinessView, hasRemoteHomeView, homeIntf, injectionManager, interceptorManager, invocationInfoMap, invocationManager, isEntity, isLocal, isMessageDriven, isRemote, isSession, isSingleton, isStatefulSession, isStatelessSession, isWebServiceEndpoint, lifecycleCallbackAnnotationClasses, loader, localBusinessHomeIntf, localBusinessIntfs, localHomeIntf, logParams, metadata, methodMonitorMap, monitorOn, namingManager, NO_PARAMS, optIntfClassLoader, poolProbeListener, registryMediator, remoteBusinessHomeIntf, remoteBusinessIntfInfo, remoteHomeRefFactory, remoteIntf, scheduleIds, securityManager, sfsbSerializedClass, SINGLETON_BEAN_POOL_PROP, timerProbeListener, timerProbeNotifier, transactionManager, webServiceEndpointIntf, webServiceInvocationInfoMap
 
Fields inherited from interface com.sun.ejb.Container
SEC_CHECKED, SEC_EXCLUDED, SEC_NOT_INITIALIZED, SEC_UNCHECKED, secAttrStrings, TX_BEAN_MANAGED, TX_MANDATORY, TX_NEVER, TX_NOT_INITIALIZED, TX_NOT_SUPPORTED, TX_REQUIRED, TX_REQUIRES_NEW, TX_SUPPORTS, txAttrStrings
 
Constructor Summary
protected CommitCEntityContainer(EjbDescriptor desc, ClassLoader loader)
          This constructor is called from the JarManager when a Jar is deployed.
 
Method Summary
protected  void addReadyEJB(EntityContextImpl context)
           
protected  void createEJBObjectStores(int cacheSize, int numberOfVictimsToSelect, long idleTimeout)
           
protected  void createReadyStore(int cacheSize, int numberOfVictimsToSelect, float loadFactor, long idleTimeout)
           
protected  void destroyReadyStoreOnUndeploy()
           
protected  EntityContextImpl getReadyEJB(EjbInvocation inv)
           
protected  void removeContextFromReadyStore(Object primaryKey, EntityContextImpl context)
           
 
Methods inherited from class com.sun.ejb.containers.EntityContainer
_getContext, activateEJBFromPool, addPooledEJB, afterNewlyActivated, callEJBLoad, callEJBRemove, callEJBStore, cancelTimerTasks, checkUnfinishedTx, createEntityContextInstance, doConcreteContainerShutdown, doEJBHomeRemove, doFlush, getEJBLocalObjectForPrimaryKey, getEJBLocalObjectForPrimaryKey, getEJBObjectForPrimaryKey, getMaxCacheSize, getMaxPoolSize, getMonitoringStatsProvider, getPooledCount, getPooledEJB, getReadyCount, getSteadyPoolSize, initializeHome, internalGetEJBLocalObjectImpl, internalGetEJBLocalObjectImpl, internalGetEJBLocalObjectImpl, internalGetEJBObjectImpl, internalGetEJBObjectImpl, internalGetEJBObjectImpl, invokeFindByPrimaryKey, onReady, passivateAndPoolEJB, postCreate, postFind, postProcessInvocationInfo, preCreate, preFind, preInitialize, preSelect, registerMonitorableComponents, releaseContext, removeBean, removeBean, removeBeanUnchecked, removeBeanUnchecked, removeIncompleteTxEJB, setupIdleBeansPassivator, trimEvent, willInvokeWithClientTx
 
Methods inherited from class com.sun.ejb.containers.BaseContainer
_constructEJBContextImpl, _constructEJBInstance, addSchedule, assertValidLocalObject, assertValidRemoteObject, authorize, checkExceptionClientTx, checkUserTransactionLookup, cleanupInstance, containerStateToString, createCallFlowAgent, createEjbInstanceAndContext, createMonitoringRegistryMediator, createRemoteReferenceWithId, doAfterBegin, enlistExtendedEntityManagers, externalPostInvoke, externalPreInvoke, findFlushEnabledAttr, findTxAttr, getClassLoader, getComponentId, getContainerClassLoader, getContainerType, getContext, getDebugMonitorFlag, getDescriptor, getEJBClass, getEjbDescriptor, getEJBHome, getEJBHomeStub, getEJBLocalBusinessHome, getEJBLocalHome, getEJBMetaData, getJaccEjb, getJavaGlobalJndiNamePrefix, getMonitoringMethodsArray, getMonitoringMethodsArray, getPre30LifecycleMethodNames, getProtocolManager, getSecurityManager, getTargetObject, getTxAttr, getTxAttr, incrementCreatedTimedObject, incrementDeliveredTimedObject, incrementRemovedTimedObject, injectEjbInstance, instantiateEJBLocalBusinessObjectImpl, instantiateEJBLocalObjectImpl, instantiateEJBObjectImpl, instantiateOptionalEJBLocalBusinessObjectImpl, instantiateRemoteBusinessObjectImpl, invokeBeanMethod, isAppExceptionRequiringRollback, isApplicationException, isHAEnabled, isLocalInterfaceSupported, isRemoteInterfaceSupported, isStopped, isSystemUncheckedException, isTimedObject, isUndeployed, lookupExtendedEntityManager, onShutdown, onTermination, populateMethodMonitorMap, populateMethodMonitorMap, populateMethodMonitorMap, postInvoke, postInvoke, postInvokeTx, preInvoke, preInvokeTx, registerTimerMonitorableComponent, registerTxAttrForMethod, releaseTargetObject, setDebugMonitorFlag, setMonitorOn, setSecurityManager, setStartedState, setStoppedState, setUndeployedState, startApplication, toString, undeploy, useClientTx, userTransactionMethodsAllowed, webServicePostInvoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommitCEntityContainer

protected CommitCEntityContainer(EjbDescriptor desc,
                                 ClassLoader loader)
                          throws Exception
This constructor is called from the JarManager when a Jar is deployed.

Throws:
Exception - on error
Method Detail

getReadyEJB

protected EntityContextImpl getReadyEJB(EjbInvocation inv)
Overrides:
getReadyEJB in class EntityContainer

createReadyStore

protected void createReadyStore(int cacheSize,
                                int numberOfVictimsToSelect,
                                float loadFactor,
                                long idleTimeout)
Overrides:
createReadyStore in class EntityContainer

createEJBObjectStores

protected void createEJBObjectStores(int cacheSize,
                                     int numberOfVictimsToSelect,
                                     long idleTimeout)
                              throws Exception
Overrides:
createEJBObjectStores in class EntityContainer
Throws:
Exception

addReadyEJB

protected void addReadyEJB(EntityContextImpl context)
Overrides:
addReadyEJB in class EntityContainer

destroyReadyStoreOnUndeploy

protected void destroyReadyStoreOnUndeploy()
Overrides:
destroyReadyStoreOnUndeploy in class EntityContainer

removeContextFromReadyStore

protected void removeContextFromReadyStore(Object primaryKey,
                                           EntityContextImpl context)
Overrides:
removeContextFromReadyStore in class EntityContainer


Copyright © 2012 GlassFish Community. All Rights Reserved.