|
||||||||||
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 |
cacheMax
|
protected int |
poolMin
|
protected int |
transactionType
|
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
BEAN_TRANSACTION_TYPE, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, displayName, ejb10EnvProps, ejbClass, ejbLocalRefDesc, ejbName, ejbRefDesc, envEntryDesc, fullDerivedBeanName, home, jndiName, local, localhome, remote, resourceEnvRefDesc, resourceRefDesc, securityRoleRef, 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)
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 |
getCacheMax()
|
int |
getPoolMin()
|
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
protected int poolMin
protected int cacheMax
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) 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 int getPoolMin()
public int getCacheMax()
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 |