|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_lib.deployment.api.DescriptionGroupDesc org.objectweb.jonas_lib.deployment.api.JndiEnvRefsGroupDesc org.objectweb.jonas_ejb.deployment.api.BeanDesc org.objectweb.jonas_ejb.deployment.api.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.objectweb.jonas_ejb.deployment.api.BeanDesc |
---|
BEAN_TRANSACTION_TYPE, beanIdentification, bf, cacheMax, clusterHomeDistributor, clusterRemoteDistributor, clusterReplicated, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, ejb10EnvProps, ejbClass, ejbName, ejbTimeoutSignature, fullDerivedBeanName, GENERATED_PREFIX, home, jndiLocalName, jndiName, local, localhome, logger, poolMin, remote, securityRoleRefDescList, timerTxAttribute, TRANS |
Fields inherited from class org.objectweb.jonas_lib.deployment.api.DescriptionGroupDesc |
---|
description, displayName, largeIcon, smallIcon |
Constructor Summary | |
---|---|
SessionDesc(java.lang.ClassLoader classLoader,
Session ses,
AssemblyDescriptor asd,
JonasSession jSes,
JLinkedList jMDRList,
java.lang.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. |
boolean |
isBeanManagedTransaction()
Returns true if bean managed transaction. |
java.lang.String |
toString()
String representation of the object for test purpose |
Methods inherited from class org.objectweb.jonas_lib.deployment.api.JndiEnvRefsGroupDesc |
---|
getEjbLocalRefDesc, getEjbRefDesc, getEnvEntryDesc, getMessageDestinationRefDesc, getResourceEnvRefDesc, getResourceRefDesc, getServiceRefDesc |
Methods inherited from class org.objectweb.jonas_lib.deployment.api.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(java.lang.ClassLoader classLoader, Session ses, AssemblyDescriptor asd, JonasSession jSes, JLinkedList jMDRList, java.lang.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 java.lang.String toString()
toString
in interface DescriptionGroup
toString
in class BeanDesc
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |