org.objectweb.jonas_ejb.deployment.api
Class EntityDesc
java.lang.Object
|
+--org.objectweb.jonas_ejb.deployment.api.BeanDesc
|
+--org.objectweb.jonas_ejb.deployment.api.EntityDesc
- Direct Known Subclasses:
- EntityBmpDesc, EntityCmpDesc
- public abstract class EntityDesc
- extends BeanDesc
Base class for descriptor of an entity bean
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
BEAN_TRANSACTION_TYPE, CONTAINER_TRANSACTION_TYPE, displayName, ejb10EnvProps, ejbClass, ejbLocalRefDesc, ejbName, ejbRefDesc, envEntryDesc, home, jndiName, local, localhome, methodDesc, remote, resourceEnvRefDesc, resourceRefDesc, securityRoleRef, TRANS |
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
check, getDisplayName, getEjb10Environment, getEjbClass, getEjbLocalRefDesc, getEjbName, getEjbRefDesc, getEnvEntryDesc, getHomeClass, getJndiLocalName, getJndiName, getLocalClass, getLocalHomeClass, getMethodDesc, getMethodDescs, getRemoteClass, getResourceEnvRefDesc, getResourceRefDesc, getRoleLink, getSecurityRoleNames, verifyRoleName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
METHODS_REMOTE_NO_TX
protected static final java.lang.String METHODS_REMOTE_NO_TX
METHODS_HOME_NO_TX
protected static final java.lang.String METHODS_HOME_NO_TX
checkTxAttribute
protected void checkTxAttribute(java.lang.reflect.Method m)
throws DeploymentDescException
- check that trans-attribute is valid for bean
- Overrides:
checkTxAttribute
in class BeanDesc
getPassivationTimeout
public int getPassivationTimeout()
- Get the passivation timeout value
getPrimaryKeyClass
public java.lang.Class getPrimaryKeyClass()
- Get the entity's primary key class.
- Returns:
- Class for the primary key
isReentrant
public boolean isReentrant()
- Assessor for reentrant entity bean
- Returns:
- true for reentrant entity bean
isShared
public boolean isShared()
- Returns:
- true for shared entity bean
getPoolMin
public int getPoolMin()
- Returns:
- min size of the pool
getCacheMax
public int getCacheMax()
- Returns:
- max size of the cache
toString
public java.lang.String toString()
- String representation of the object for test purpose
- Overrides:
toString
in class BeanDesc
- Returns:
- String representation of this object