|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.common.DescriptionGroupDesc org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc org.ow2.jonas.deployment.ejb.BeanDesc org.ow2.jonas.deployment.ejb.SessionDesc
public abstract class SessionDesc
Base class to hold meta-information related to a session bean.
Field Summary | |
---|---|
protected int |
transactionType
|
Fields inherited from class org.ow2.jonas.deployment.ejb.BeanDesc |
---|
BEAN_TRANSACTION_TYPE, beanIdentification, cacheMax, clusterReplicated, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, ejb10EnvProps, ejbClass, ejbName, ejbTimeoutSignature, fullDerivedBeanName, GENERATED_PREFIX, home, jndiLocalName, jndiName, local, localhome, poolMin, remote, securityRoleRefDescList, timerTxAttribute, TRANS |
Fields inherited from class org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc |
---|
logger |
Fields inherited from class org.ow2.jonas.deployment.common.DescriptionGroupDesc |
---|
description, displayName, largeIcon, smallIcon |
Constructor Summary | |
---|---|
SessionDesc(ClassLoader classLoader,
Session ses,
AssemblyDescriptor asd,
JonasSession jSes,
JLinkedList jMDRList,
String filename)
constructor: called when the DeploymentDescriptor is read. |
Method Summary | |
---|---|
void |
check()
Check that the bean descriptor is valid |
protected void |
checkTxAttribute(MethodDesc md)
check that trans-attribute is valid for bean |
int |
getSessionTimeout()
Get the session timeout value |
int |
getTransactionType()
Get session transaction management type. |
int |
getWarningThreshold()
|
boolean |
isBeanManagedTransaction()
Returns true if bean managed transaction. |
boolean |
isMonitoringEnabled()
|
boolean |
isMonitoringSettingsDefinedInDD()
|
void |
setWarningThreshold(int warningThreshold)
|
String |
toString()
String representation of the object for test purpose |
Methods inherited from class org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc |
---|
getEjbLocalRefDesc, getEjbRefDesc, getENCBindingHolder, getEnvEntryDesc, getMessageDestinationRefDesc, getPersistenceUnitRefs, getResourceEnvRefDesc, getResourceRefDesc, getServiceRefDesc, setENCBindingHolder |
Methods inherited from class org.ow2.jonas.deployment.common.DescriptionGroupDesc |
---|
getDescription, getDisplayName, getLargeIcon, getSAXMsg, getSmallIcon |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int transactionType
Constructor Detail |
---|
public SessionDesc(ClassLoader classLoader, Session ses, AssemblyDescriptor asd, JonasSession jSes, JLinkedList jMDRList, String filename) throws DeploymentDescException
DeploymentDescException
Method Detail |
---|
protected void checkTxAttribute(MethodDesc md) throws DeploymentDescException
checkTxAttribute
in class BeanDesc
md
- MethodDesc to check
DeploymentDescException
- When MethodDesc is not validpublic int getTransactionType()
public boolean isBeanManagedTransaction()
public int getSessionTimeout()
public void check() throws DeploymentDescException
check
in class BeanDesc
DeploymentDescException
- thrown for non-valid beanpublic String toString()
toString
in interface IDescriptionGroupDesc
toString
in class BeanDesc
public boolean isMonitoringSettingsDefinedInDD()
public void setWarningThreshold(int warningThreshold)
public boolean isMonitoringEnabled()
public int getWarningThreshold()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |