|
||||||||||
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.EntityDesc
Base class to hold meta-information related to an entity bean.
Field Summary | |
protected int |
cleanup
|
static int |
CLEANUP_CREATE
|
static int |
CLEANUP_NONE
|
static int |
CLEANUP_REMOVEALL
|
static int |
CLEANUP_REMOVEDATA
|
static int |
LOCK_CONTAINER_READ_COMMITTED
|
static int |
LOCK_CONTAINER_READ_UNCOMMITTED
|
static int |
LOCK_CONTAINER_SERIALIZED
|
static int |
LOCK_DATABASE
|
protected int |
lockPolicy
|
protected static java.lang.String |
METHODS_HOME_NO_TX
home methods for which no transaction attribute is to be set |
protected static java.lang.String |
METHODS_REMOTE_NO_TX
remote methods for which no transaction attribute is to be set |
protected int |
passivationTimeout
|
protected boolean |
prefetch
|
protected java.lang.Class |
primaryKeyClass
This field contains the class name of the factory instanciate by the container. |
protected boolean |
reentrant
|
protected boolean |
shared
|
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 | |
EntityDesc(java.lang.ClassLoader classLoader,
org.objectweb.jonas_ejb.deployment.xml.Entity ent,
org.objectweb.jonas_ejb.deployment.xml.AssemblyDescriptor asd,
org.objectweb.jonas_ejb.deployment.xml.JonasEntity jEnt,
java.lang.String fileName)
constructor to be used by parent node |
Method Summary | |
protected void |
checkTxAttribute(MethodDesc md)
check that trans-attribute is valid for bean |
int |
getCleanupPolicy()
|
int |
getLockPolicy()
|
int |
getPassivationTimeout()
Get the passivation timeout value |
java.lang.Class |
getPrimaryKeyClass()
Get the entity's primary key class. |
boolean |
isPrefetch()
|
boolean |
isReentrant()
Assessor for reentrant entity bean |
boolean |
isShared()
|
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 static final java.lang.String METHODS_REMOTE_NO_TX
protected static final java.lang.String METHODS_HOME_NO_TX
protected java.lang.Class primaryKeyClass
protected boolean reentrant
protected int passivationTimeout
protected boolean shared
protected boolean prefetch
public static final int CLEANUP_NONE
public static final int CLEANUP_CREATE
public static final int CLEANUP_REMOVEDATA
public static final int CLEANUP_REMOVEALL
protected int cleanup
public static final int LOCK_CONTAINER_READ_UNCOMMITTED
public static final int LOCK_CONTAINER_SERIALIZED
public static final int LOCK_CONTAINER_READ_COMMITTED
public static final int LOCK_DATABASE
protected int lockPolicy
Constructor Detail |
public EntityDesc(java.lang.ClassLoader classLoader, org.objectweb.jonas_ejb.deployment.xml.Entity ent, org.objectweb.jonas_ejb.deployment.xml.AssemblyDescriptor asd, org.objectweb.jonas_ejb.deployment.xml.JonasEntity jEnt, java.lang.String fileName) throws DeploymentDescException
Method Detail |
public int getCleanupPolicy()
public int getLockPolicy()
protected void checkTxAttribute(MethodDesc md) throws DeploymentDescException
checkTxAttribute
in class BeanDesc
DeploymentDescException
public int getPassivationTimeout()
public java.lang.Class getPrimaryKeyClass()
public boolean isReentrant()
public boolean isShared()
public boolean isPrefetch()
public java.lang.String toString()
toString
in class BeanDesc
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |