|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_ejb.deployment.api.BeanDesc
org.objectweb.jonas_ejb.deployment.api.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, cacheMax, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, displayName, ejb10EnvProps, ejbClass, ejbLocalRefDesc, ejbName, ejbRefDesc, envEntryDesc, fileName, fullDerivedBeanName, home, jndiName, local, localhome, logger, poolMin, remote, resourceEnvRefDesc, resourceRefDesc, securityRoleRef, serviceRefs, TRANS |
Constructor Summary | |
SessionDesc(java.lang.ClassLoader classLoader,
org.objectweb.jonas_ejb.deployment.xml.Session ses,
org.objectweb.jonas_ejb.deployment.xml.AssemblyDescriptor asd,
org.objectweb.jonas_ejb.deployment.xml.JonasSession jSes,
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 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, org.objectweb.jonas_ejb.deployment.xml.Session ses, org.objectweb.jonas_ejb.deployment.xml.AssemblyDescriptor asd, org.objectweb.jonas_ejb.deployment.xml.JonasSession jSes, java.lang.String filename) throws DeploymentDescException
Method Detail |
protected void checkTxAttribute(MethodDesc md) throws DeploymentDescException
checkTxAttribute
in class BeanDesc
DeploymentDescException
public 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 class BeanDesc
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |