|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.ejb.containers.BaseContainer
public abstract class BaseContainer
This class implements part of the com.sun.ejb.Container interface. It implements the container's side of the EJB-to-Container contract definweed by the EJB 2.0 spec. It contains code shared by SessionBeans, EntityBeans and MessageDrivenBeans. Its subclasses provide the remaining implementation of the container functionality.
| Nested Class Summary | |
|---|---|
static class |
BaseContainer.ContainerType
|
| 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 |
BaseContainer(BaseContainer.ContainerType type,
EjbDescriptor ejbDesc,
java.lang.ClassLoader loader)
This constructor is called from ContainerFactoryImpl when an EJB Jar is deployed. |
| Method Summary | |
|---|---|
protected EJBContextImpl |
_constructEJBContextImpl(java.lang.Object instance)
|
protected java.lang.Object |
_constructEJBInstance()
|
protected abstract ComponentContext |
_getContext(EjbInvocation inv)
|
protected void |
addSchedule(TimerPrimaryKey timerId,
TimerSchedule ts)
Call back from the timer migration process to add automatic timers to the map of scheduleIds |
void |
assertValidLocalObject(java.lang.Object o)
Verify that a given object is an EJBLocalObject of an ejb from this ejb container. |
void |
assertValidRemoteObject(java.lang.Object o)
Asserts validity of RemoteHome objects. |
boolean |
authorize(EjbInvocation inv)
Common code to handle EJB security manager authorization call. |
protected java.lang.Throwable |
checkExceptionClientTx(EJBContextImpl context,
java.lang.Throwable exception)
|
protected void |
checkUnfinishedTx(Transaction prevTx,
EjbInvocation inv)
|
void |
checkUserTransactionLookup(ComponentInvocation inv)
|
protected void |
cleanupInstance(EJBContextImpl context)
|
protected static java.lang.String |
containerStateToString(int state)
|
protected void |
createCallFlowAgent(ComponentType compType)
|
protected EJBContextImpl |
createEjbInstanceAndContext()
|
protected void |
createMonitoringRegistryMediator()
|
java.rmi.Remote |
createRemoteReferenceWithId(byte[] instanceKey,
java.lang.String generatedRemoteBusinessIntf)
Create an EJBObject reference from the instanceKey Called from EJBObjectOutputStream.SerializableRemoteRef during deserialization of a remote-ref |
void |
doAfterBegin(ComponentInvocation ci)
Called from the TM when an EJB with Bean-Managed transactions starts a tx |
protected abstract void |
doConcreteContainerShutdown(boolean appBeingUndeployed)
|
protected void |
doEJBHomeRemove(java.lang.Object pk,
java.lang.reflect.Method m,
boolean isLocal)
|
protected void |
doFlush(EjbInvocation inv)
|
protected void |
enlistExtendedEntityManagers(ComponentContext ctx)
|
void |
externalPostInvoke()
Performs post external invocation cleanup such as restoring the original class loader. |
void |
externalPreInvoke()
Performs pre external invocation setup such as setting application context class loader. |
protected boolean |
findFlushEnabledAttr(MethodDescriptor md)
|
protected int |
findTxAttr(MethodDescriptor md)
|
java.lang.ClassLoader |
getClassLoader()
|
java.lang.String |
getComponentId()
Called from NamingManagerImpl during java:comp/env lookup. |
java.lang.ClassLoader |
getContainerClassLoader()
|
BaseContainer.ContainerType |
getContainerType()
|
protected ComponentContext |
getContext(EjbInvocation inv)
|
boolean |
getDebugMonitorFlag()
|
Descriptor |
getDescriptor()
Method defined on JavaEEContainer |
java.lang.Class |
getEJBClass()
|
EjbDescriptor |
getEjbDescriptor()
|
EJBHome |
getEJBHome()
|
EJBHome |
getEJBHomeStub()
|
GenericEJBLocalHome |
getEJBLocalBusinessHome(java.lang.String clientViewClassName)
Return an object that implements ejb's local business home interface. |
EJBLocalHome |
getEJBLocalHome()
Return an object that implements ejb's local home interface. |
EJBLocalObject |
getEJBLocalObjectForPrimaryKey(java.lang.Object pkey)
|
EJBLocalObject |
getEJBLocalObjectForPrimaryKey(java.lang.Object pkey,
EJBContext ctx)
Obtain an Entity EJBLocalObject corresponding to the primary key. |
EJBMetaData |
getEJBMetaData()
|
EJBObject |
getEJBObjectForPrimaryKey(java.lang.Object pkey)
Obtain an Entity EJBObject corresponding to the primary key. |
java.lang.Object |
getJaccEjb(EjbInvocation inv)
Called-back from security implementation through EjbInvocation when a jacc policy provider wants an enterprise bean instance. |
protected java.lang.String |
getJavaGlobalJndiNamePrefix()
|
protected java.lang.reflect.Method[] |
getMonitoringMethodsArray()
|
protected java.lang.reflect.Method[] |
getMonitoringMethodsArray(boolean hasGeneratedClasses)
|
protected abstract EjbMonitoringStatsProvider |
getMonitoringStatsProvider(java.lang.String appName,
java.lang.String modName,
java.lang.String ejbName)
|
protected java.lang.String[] |
getPre30LifecycleMethodNames()
|
protected ProtocolManager |
getProtocolManager()
|
SecurityManager |
getSecurityManager()
|
java.rmi.Remote |
getTargetObject(byte[] instanceKey,
java.lang.String generatedRemoteBusinessIntf)
Return the EJBObject/EJBHome Proxy for the given ejbId and instanceKey. |
protected int |
getTxAttr(EjbInvocation inv)
|
protected int |
getTxAttr(java.lang.reflect.Method method,
java.lang.String methodIntf)
|
protected void |
incrementCreatedTimedObject()
|
protected void |
incrementDeliveredTimedObject()
|
protected void |
incrementRemovedTimedObject()
|
protected void |
injectEjbInstance(EJBContextImpl context)
|
protected EJBLocalObjectImpl |
instantiateEJBLocalBusinessObjectImpl()
|
protected EJBLocalObjectImpl |
instantiateEJBLocalObjectImpl()
|
protected EJBObjectImpl |
instantiateEJBObjectImpl()
|
protected EJBLocalObjectImpl |
instantiateOptionalEJBLocalBusinessObjectImpl()
|
protected EJBObjectImpl |
instantiateRemoteBusinessObjectImpl()
|
java.lang.Object |
invokeBeanMethod(EjbInvocation inv)
Called from Interceptor Chain to invoke the actual bean method. |
protected boolean |
isAppExceptionRequiringRollback(java.lang.Throwable exception)
Returns true if this exception is an Application Exception and it requires rollback of the transaction in which it was thrown. |
protected boolean |
isApplicationException(java.lang.Throwable exception)
|
boolean |
isHAEnabled()
|
protected boolean |
isLocalInterfaceSupported()
|
protected boolean |
isRemoteInterfaceSupported()
|
boolean |
isStopped()
|
protected boolean |
isSystemUncheckedException(java.lang.Throwable exception)
|
boolean |
isTimedObject()
Returns true if this Container uses EJB Timer Service. |
boolean |
isUndeployed()
|
javax.persistence.EntityManager |
lookupExtendedEntityManager(javax.persistence.EntityManagerFactory emf)
Containers that allow extended EntityManager will override this method. |
void |
onReady()
Called when server instance is Ready |
void |
onShutdown()
Container shutdown event. |
void |
onTermination()
Called when server instance is terminating. |
protected void |
populateMethodMonitorMap()
|
protected void |
populateMethodMonitorMap(java.lang.reflect.Method[] methods)
|
protected void |
populateMethodMonitorMap(java.lang.reflect.Method[] methods,
boolean prefixClassName)
|
void |
postCreate(EjbInvocation inv,
java.lang.Object primaryKey)
Called by the EJB(Local)Home after invoking ejbCreate on an EntityBean. |
java.lang.Object |
postFind(EjbInvocation inv,
java.lang.Object primaryKeys,
java.lang.Object[] findParams)
Called by the EJB(Local)Home after invoking ejbFind* on an EntityBean. |
void |
postInvoke(EjbInvocation inv)
Called from EJBObject/EJBHome after invoking on bean. |
protected void |
postInvoke(EjbInvocation inv,
boolean doTxProcessing)
|
void |
postInvokeTx(EjbInvocation inv)
postInvokeTx is called after every invocation on the EJB instance, including ejbCreate/ejbFind---/ejbRemove. |
protected InvocationInfo |
postProcessInvocationInfo(InvocationInfo invInfo)
|
protected void |
preInitialize(EjbDescriptor ejbDesc,
java.lang.ClassLoader loader)
|
void |
preInvoke(EjbInvocation inv)
Called from EJBObject/EJBHome before invoking on EJB. |
protected void |
preInvokeTx(EjbInvocation inv)
This is called from preInvoke before every method invocation on the EJB instance, including ejbCreate, ejbFind*, ejbRemove. |
void |
preSelect()
Notification from persistence manager than an ejbSelect query is about to be invoked on a bean of the ejb type for this container. |
protected void |
registerMonitorableComponents()
|
protected void |
registerTimerMonitorableComponent()
|
protected void |
registerTxAttrForMethod(java.lang.reflect.Method method,
java.lang.String methodIntf)
|
protected abstract void |
releaseContext(EjbInvocation inv)
|
void |
releaseTargetObject(java.rmi.Remote remoteObj)
Release the EJBObject/EJBHome object. |
void |
removeBeanUnchecked(EJBLocalObject bean)
Remove a bean. |
void |
removeBeanUnchecked(java.lang.Object pkey)
Remove a bean given primary key. |
void |
setDebugMonitorFlag(boolean flag)
|
void |
setMonitorOn(boolean flag)
|
void |
setSecurityManager(SecurityManager sm)
|
void |
setStartedState()
Start servicing invocations for EJB instances in this Container. |
void |
setStoppedState()
Stop servicing invocations for EJB instances in this Container. |
void |
setUndeployedState()
Stop servicing invocations for EJB instances in this Container as the container is being undeployed. |
void |
startApplication(boolean deploy)
Called after all the components in the container's application have deployed successfully. |
java.lang.String |
toString()
|
void |
undeploy()
Undeploy event. |
protected void |
useClientTx(Transaction prevTx,
EjbInvocation inv)
|
boolean |
userTransactionMethodsAllowed(ComponentInvocation inv)
EJB spec makes a distinction between access to the UserTransaction object itself and access to its methods. |
void |
webServicePostInvoke(EjbInvocation inv)
Called by webservice code to do ejb invocation post processing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static final java.util.logging.Logger _logger
protected static final java.lang.Class[] NO_PARAMS
protected java.lang.Object[] logParams
protected BaseContainer.ContainerType containerType
protected static final java.lang.String SINGLETON_BEAN_POOL_PROP
protected java.lang.ClassLoader loader
protected java.lang.Class ejbClass
protected java.lang.Class sfsbSerializedClass
protected java.lang.reflect.Method ejbPassivateMethod
protected java.lang.reflect.Method ejbActivateMethod
protected java.lang.reflect.Method ejbRemoveMethod
protected java.lang.reflect.Method ejbTimeoutMethod
protected java.lang.Class webServiceEndpointIntf
protected boolean isWebServiceEndpoint
protected boolean isLocal
protected boolean hasLocalHomeView
protected boolean hasLocalBusinessView
protected boolean hasOptionalLocalBusinessView
protected java.lang.Class ejbGeneratedOptionalLocalBusinessIntfClass
protected java.lang.Class localHomeIntf
protected EJBLocalHome ejbLocalHome
protected EJBLocalHomeImpl ejbLocalHomeImpl
protected java.lang.Class localBusinessHomeIntf
protected java.lang.Class ejbOptionalLocalBusinessHomeIntf
protected java.util.Set<java.lang.Class> localBusinessIntfs
protected GenericEJBLocalHome ejbLocalBusinessHome
protected GenericEJBLocalHome ejbOptionalLocalBusinessHome
protected EJBLocalHomeImpl ejbLocalBusinessHomeImpl
protected EJBLocalHomeImpl ejbOptionalLocalBusinessHomeImpl
protected boolean isRemote
protected boolean hasRemoteHomeView
protected boolean hasRemoteBusinessView
protected java.lang.Class homeIntf
protected java.lang.Class remoteIntf
protected EJBHomeImpl ejbHomeImpl
protected EJBHome ejbHome
protected EJBHome ejbHomeStub
protected RemoteReferenceFactory remoteHomeRefFactory
protected java.lang.Class remoteBusinessHomeIntf
protected EJBHomeImpl ejbRemoteBusinessHomeImpl
protected EJBHome ejbRemoteBusinessHome
protected EJBHome ejbRemoteBusinessHomeStub
protected java.util.Map<java.lang.String,com.sun.ejb.containers.RemoteBusinessIntfInfo> remoteBusinessIntfInfo
protected EJBMetaData metadata
protected SecurityManager securityManager
protected boolean isSession
protected boolean isStatelessSession
protected boolean isStatefulSession
protected boolean isMessageDriven
protected boolean isEntity
protected boolean isSingleton
protected EjbDescriptor ejbDescriptor
protected java.lang.String componentId
protected java.util.Map invocationInfoMap
protected java.util.Map<TimerPrimaryKey,java.lang.reflect.Method> scheduleIds
protected java.util.Map webServiceInvocationInfoMap
protected java.lang.reflect.Method[] ejbIntfMethods
protected InvocationInfo[] ejbIntfMethodInfo
protected java.util.Properties envProps
protected boolean debugMonitorFlag
protected static final int CONTAINER_INITIALIZING
protected static final int CONTAINER_STARTED
protected static final int CONTAINER_STOPPED
protected static final int CONTAINER_UNDEPLOYED
protected static final int CONTAINER_ON_HOLD
protected int containerState
protected int cmtTimeoutInSeconds
protected java.util.HashMap methodMonitorMap
protected boolean monitorOn
protected MonitoringRegistryMediator registryMediator
protected EJBMethodStatsManager ejbMethodStatsManager
protected EjbMonitoringStatsProvider ejbProbeListener
protected EjbMonitoringProbeProvider ejbProbeNotifier
protected EjbTimedObjectStatsProvider timerProbeListener
protected EjbTimedObjectProbeProvider timerProbeNotifier
protected EjbPoolStatsProvider poolProbeListener
protected EjbCacheProbeProvider cacheProbeNotifier
protected EjbCacheStatsProvider cacheProbeListener
protected com.sun.ejb.containers.ContainerInfo containerInfo
protected CallFlowInfo callFlowInfo
protected InterceptorManager interceptorManager
protected static final java.lang.Class[] lifecycleCallbackAnnotationClasses
protected InvocationManager invocationManager
protected InjectionManager injectionManager
protected GlassfishNamingManager namingManager
protected JavaEETransactionManager transactionManager
protected EjbContainerUtil ejbContainerUtilImpl
protected EjbOptionalIntfGenerator optIntfClassLoader
| Constructor Detail |
|---|
protected BaseContainer(BaseContainer.ContainerType type,
EjbDescriptor ejbDesc,
java.lang.ClassLoader loader)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
protected ProtocolManager getProtocolManager()
public BaseContainer.ContainerType getContainerType()
protected void doEJBHomeRemove(java.lang.Object pk,
java.lang.reflect.Method m,
boolean isLocal)
throws java.rmi.RemoteException,
RemoveException
java.rmi.RemoteException
RemoveException
protected void preInitialize(EjbDescriptor ejbDesc,
java.lang.ClassLoader loader)
public void checkUserTransactionLookup(ComponentInvocation inv)
throws javax.naming.NameNotFoundException
javax.naming.NameNotFoundExceptionprotected final void createCallFlowAgent(ComponentType compType)
public java.lang.String toString()
toString in class java.lang.Objectpublic final void setStartedState()
Container
setStartedState in interface Containerpublic final void setStoppedState()
Container
setStoppedState in interface Containerpublic final boolean isStopped()
public final void setUndeployedState()
Container
setUndeployedState in interface Containerpublic final boolean isUndeployed()
public final boolean isTimedObject()
Container
isTimedObject in interface Containerpublic final java.lang.ClassLoader getContainerClassLoader()
getContainerClassLoader in interface JavaEEContainerpublic final java.lang.ClassLoader getClassLoader()
getClassLoader in interface ContainergetClassLoader in interface EjbContainerFacadepublic final EjbDescriptor getEjbDescriptor()
getEjbDescriptor in interface ContainergetEjbDescriptor in interface EjbContainerFacadepublic final Descriptor getDescriptor()
getDescriptor in interface JavaEEContainerpublic final EJBMetaData getEJBMetaData()
getEJBMetaData in interface Containerpublic boolean isHAEnabled()
public boolean userTransactionMethodsAllowed(ComponentInvocation inv)
userTransactionMethodsAllowed in interface Containerpublic final EJBHome getEJBHomeStub()
public final EJBHome getEJBHome()
getEJBHome in interface Containerpublic final EJBLocalHome getEJBLocalHome()
public final GenericEJBLocalHome getEJBLocalBusinessHome(java.lang.String clientViewClassName)
public final java.lang.Class getEJBClass()
public final SecurityManager getSecurityManager()
getSecurityManager in interface Container
public final void setSecurityManager(SecurityManager sm)
throws java.lang.Exception
java.lang.Exception
public java.rmi.Remote createRemoteReferenceWithId(byte[] instanceKey,
java.lang.String generatedRemoteBusinessIntf)
instanceKey - instanceKey of the ejbobjectgeneratedRemoteBusinessIntf - non-null, this is a remote business view and the param
is the name of the generated remote business interface.
Otherwise, this is for the RemoteHome viewprotected java.lang.String getJavaGlobalJndiNamePrefix()
protected EJBContextImpl createEjbInstanceAndContext()
throws java.lang.Exception
java.lang.Exceptionprotected EJBContextImpl _constructEJBContextImpl(java.lang.Object instance)
protected java.lang.Object _constructEJBInstance()
throws java.lang.Exception
java.lang.Exception
protected void injectEjbInstance(EJBContextImpl context)
throws java.lang.Exception
java.lang.Exceptionprotected void cleanupInstance(EJBContextImpl context)
public java.rmi.Remote getTargetObject(byte[] instanceKey,
java.lang.String generatedRemoteBusinessIntf)
getTargetObject in interface ContainergetTargetObject in interface EjbContainerFacadegeneratedRemoteBusinessIntf - True if this invocation is for the RemoteHome
view of the bean. False if for the RemoteBusiness view.
Called from the ProtocolManager when a remote invocation arrives.
NoSuchObjectLocalException - if the target object does not existpublic void releaseTargetObject(java.rmi.Remote remoteObj)
releaseTargetObject in interface ContainerreleaseTargetObject in interface EjbContainerFacadepublic void externalPreInvoke()
Container
externalPreInvoke in interface Containerpublic void externalPostInvoke()
Container
externalPostInvoke in interface Containerpublic void preInvoke(EjbInvocation inv)
preInvoke in interface Containerprotected void enlistExtendedEntityManagers(ComponentContext ctx)
public javax.persistence.EntityManager lookupExtendedEntityManager(javax.persistence.EntityManagerFactory emf)
lookupExtendedEntityManager in interface JavaEEContainerpublic void webServicePostInvoke(EjbInvocation inv)
Container
webServicePostInvoke in interface Containerpublic void postInvoke(EjbInvocation inv)
postInvoke in interface Container
protected void postInvoke(EjbInvocation inv,
boolean doTxProcessing)
protected void addSchedule(TimerPrimaryKey timerId,
TimerSchedule ts)
public boolean authorize(EjbInvocation inv)
authorize in interface Container
protected final ComponentContext getContext(EjbInvocation inv)
throws EJBException
EJBException
protected abstract ComponentContext _getContext(EjbInvocation inv)
throws EJBException
EJBException
protected abstract void releaseContext(EjbInvocation inv)
throws EJBException
EJBExceptionpublic void removeBeanUnchecked(java.lang.Object pkey)
Container
removeBeanUnchecked in interface Containerpublic void removeBeanUnchecked(EJBLocalObject bean)
Container
removeBeanUnchecked in interface Containerpublic void preSelect()
Container
preSelect in interface Container
public EJBLocalObject getEJBLocalObjectForPrimaryKey(java.lang.Object pkey,
EJBContext ctx)
Container
getEJBLocalObjectForPrimaryKey in interface Containerpublic EJBLocalObject getEJBLocalObjectForPrimaryKey(java.lang.Object pkey)
getEJBLocalObjectForPrimaryKey in interface Containerpublic EJBObject getEJBObjectForPrimaryKey(java.lang.Object pkey)
Container
getEJBObjectForPrimaryKey in interface Containerpublic java.lang.Object getJaccEjb(EjbInvocation inv)
getJaccEjb in interface Container
public void assertValidLocalObject(java.lang.Object o)
throws EJBException
Container
assertValidLocalObject in interface ContainerEJBException - Thrown when the assertion fails.
public void assertValidRemoteObject(java.lang.Object o)
throws EJBException
assertValidRemoteObject in interface ContainerEJBException - Thrown when the assertion fails.
protected final int getTxAttr(java.lang.reflect.Method method,
java.lang.String methodIntf)
throws EJBException
EJBException
protected final int getTxAttr(EjbInvocation inv)
throws EJBException
EJBExceptionprotected InvocationInfo postProcessInvocationInfo(InvocationInfo invInfo)
protected java.lang.String[] getPre30LifecycleMethodNames()
protected void registerTxAttrForMethod(java.lang.reflect.Method method,
java.lang.String methodIntf)
protected int findTxAttr(MethodDescriptor md)
protected boolean findFlushEnabledAttr(MethodDescriptor md)
protected EJBLocalObjectImpl instantiateEJBLocalObjectImpl()
throws java.lang.Exception
java.lang.Exception
protected EJBLocalObjectImpl instantiateEJBLocalBusinessObjectImpl()
throws java.lang.Exception
java.lang.Exception
protected EJBLocalObjectImpl instantiateOptionalEJBLocalBusinessObjectImpl()
throws java.lang.Exception
java.lang.Exception
protected EJBObjectImpl instantiateEJBObjectImpl()
throws java.lang.Exception
java.lang.Exception
protected EJBObjectImpl instantiateRemoteBusinessObjectImpl()
throws java.lang.Exception
java.lang.Exception
public void postCreate(EjbInvocation inv,
java.lang.Object primaryKey)
throws CreateException
Container
postCreate in interface ContainerprimaryKey - the value returned from ejbCreate.
CreateException
public java.lang.Object postFind(EjbInvocation inv,
java.lang.Object primaryKeys,
java.lang.Object[] findParams)
throws FinderException
Container
postFind in interface ContainerprimaryKeys - the primaryKey or collection of primaryKeys
(Collection/Enumeration) returned from ejbFind.findParams - the parameters to the ejbFind method.
FinderExceptionpublic java.lang.String getComponentId()
getComponentId in interface ContainergetComponentId in interface JavaEEContainerpublic void startApplication(boolean deploy)
startApplication in interface Containerdeploy - true if this method is called during application deploypublic final void undeploy()
undeploy in interface Containerpublic final void onShutdown()
onShutdown in interface Containerprotected abstract void doConcreteContainerShutdown(boolean appBeingUndeployed)
public void onReady()
onReady in interface Containerpublic void onTermination()
onTermination in interface Container
protected final void preInvokeTx(EjbInvocation inv)
throws java.lang.Exception
java.lang.Exception
protected void checkUnfinishedTx(Transaction prevTx,
EjbInvocation inv)
protected void useClientTx(Transaction prevTx,
EjbInvocation inv)
public void postInvokeTx(EjbInvocation inv)
throws java.lang.Exception
java.lang.Exception
protected java.lang.Throwable checkExceptionClientTx(EJBContextImpl context,
java.lang.Throwable exception)
throws java.lang.Exception
java.lang.Exceptionpublic final void doAfterBegin(ComponentInvocation ci)
Container
doAfterBegin in interface Containerprotected boolean isApplicationException(java.lang.Throwable exception)
protected boolean isSystemUncheckedException(java.lang.Throwable exception)
protected boolean isAppExceptionRequiringRollback(java.lang.Throwable exception)
public void setMonitorOn(boolean flag)
public boolean getDebugMonitorFlag()
public void setDebugMonitorFlag(boolean flag)
protected static final java.lang.String containerStateToString(int state)
protected final boolean isRemoteInterfaceSupported()
protected final boolean isLocalInterfaceSupported()
public java.lang.Object invokeBeanMethod(EjbInvocation inv)
throws java.lang.Throwable
java.lang.Throwable
protected abstract EjbMonitoringStatsProvider getMonitoringStatsProvider(java.lang.String appName,
java.lang.String modName,
java.lang.String ejbName)
protected void createMonitoringRegistryMediator()
protected void populateMethodMonitorMap()
protected java.lang.reflect.Method[] getMonitoringMethodsArray()
protected java.lang.reflect.Method[] getMonitoringMethodsArray(boolean hasGeneratedClasses)
protected void populateMethodMonitorMap(java.lang.reflect.Method[] methods)
protected void populateMethodMonitorMap(java.lang.reflect.Method[] methods,
boolean prefixClassName)
protected void doFlush(EjbInvocation inv)
protected void registerMonitorableComponents()
protected void registerTimerMonitorableComponent()
protected void incrementCreatedTimedObject()
protected void incrementRemovedTimedObject()
protected void incrementDeliveredTimedObject()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||