|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.common.DescriptionGroupDesc org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc org.ow2.jonas.deployment.ejb.BeanDesc org.ow2.jonas.deployment.ejb.EntityDesc
public abstract class 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
|
protected int |
deadlockTimeout
|
protected boolean |
hardLimit
|
protected int |
inactivityTimeout
|
protected boolean |
jdbcAutomaticPk
|
static int |
LOCK_CONTAINER_READ_COMMITTED
|
static int |
LOCK_CONTAINER_READ_UNCOMMITTED
|
static int |
LOCK_CONTAINER_READ_WRITE
|
static int |
LOCK_CONTAINER_SERIALIZED
|
static int |
LOCK_CONTAINER_SERIALIZED_TRANSACTED
|
static int |
LOCK_DATABASE
|
static int |
LOCK_READ_ONLY
|
protected int |
lockPolicy
|
protected int |
maxWaitTime
|
protected static String |
METHODS_HOME_NO_TX
home methods for which no transaction attribute is to be set |
protected static String |
METHODS_REMOTE_NO_TX
remote methods for which no transaction attribute is to be set |
protected int |
passivationTimeout
|
protected boolean |
pkObjectType
|
protected boolean |
prefetch
|
protected Class |
primaryKeyClass
This field contains the class name of the factory instanciate by the container. |
protected int |
readTimeout
|
protected boolean |
reentrant
|
protected boolean |
shared
|
Fields inherited from class org.ow2.jonas.deployment.ejb.BeanDesc |
---|
BEAN_TRANSACTION_TYPE, beanIdentification, cacheMax, clusterReplicated, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, ejb10EnvProps, ejbClass, ejbName, ejbTimeoutSignature, fullDerivedBeanName, GENERATED_PREFIX, home, jndiLocalName, jndiName, local, localhome, poolMin, remote, securityRoleRefDescList, timerTxAttribute, TRANS |
Fields inherited from class org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc |
---|
logger |
Fields inherited from class org.ow2.jonas.deployment.common.DescriptionGroupDesc |
---|
description, displayName, largeIcon, smallIcon |
Constructor Summary | |
---|---|
EntityDesc(ClassLoader classLoader,
Entity ent,
AssemblyDescriptor asd,
JonasEntity jEnt,
JLinkedList jMDRList,
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 |
getDeadlockTimeout()
Get the deadlock timeout value |
int |
getInactivityTimeout()
Get the inactivity timeout value |
int |
getLockPolicy()
|
int |
getMaxWaitTime()
Get the max wait time |
int |
getPassivationTimeout()
Get the passivation timeout value |
Class |
getPrimaryKeyClass()
Get the entity's primary key class. |
int |
getReadTimeout()
Get the read timeout value |
boolean |
isAutomaticPk()
Assessor for existence of automatic-pk element to True value |
boolean |
isHardLimit()
|
boolean |
isPrefetch()
|
boolean |
isReentrant()
Assessor for reentrant entity bean |
boolean |
isShared()
|
boolean |
isUndefinedPK()
Assessor for primary key undefined (declare like java.lang.Object type) |
String |
toString()
String representation of the object for test purpose |
Methods inherited from class org.ow2.jonas.deployment.common.JndiEnvRefsGroupDesc |
---|
getEjbLocalRefDesc, getEjbRefDesc, getENCBindingHolder, getEnvEntryDesc, getMessageDestinationRefDesc, getPersistenceUnitRefs, getResourceEnvRefDesc, getResourceRefDesc, getServiceRefDesc, setENCBindingHolder |
Methods inherited from class org.ow2.jonas.deployment.common.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 static final String METHODS_REMOTE_NO_TX
protected static final String METHODS_HOME_NO_TX
protected Class primaryKeyClass
protected boolean reentrant
protected int passivationTimeout
protected int inactivityTimeout
protected int deadlockTimeout
protected int readTimeout
protected int maxWaitTime
protected boolean shared
protected boolean prefetch
protected boolean hardLimit
protected boolean jdbcAutomaticPk
protected boolean pkObjectType
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
public static final int LOCK_READ_ONLY
public static final int LOCK_CONTAINER_READ_WRITE
public static final int LOCK_CONTAINER_SERIALIZED_TRANSACTED
protected int lockPolicy
Constructor Detail |
---|
public EntityDesc(ClassLoader classLoader, Entity ent, AssemblyDescriptor asd, JonasEntity jEnt, JLinkedList jMDRList, String fileName) throws DeploymentDescException
DeploymentDescException
Method Detail |
---|
public int getCleanupPolicy()
public int getLockPolicy()
protected void checkTxAttribute(MethodDesc md) throws DeploymentDescException
checkTxAttribute
in class BeanDesc
md
- MethodDesc to check
DeploymentDescException
- When MethodDesc is not validpublic int getPassivationTimeout()
public int getInactivityTimeout()
public int getDeadlockTimeout()
public int getReadTimeout()
public int getMaxWaitTime()
public Class getPrimaryKeyClass()
public boolean isReentrant()
public boolean isShared()
public boolean isPrefetch()
public boolean isHardLimit()
public boolean isAutomaticPk()
field
- public field of the bean class
public boolean isUndefinedPK()
field
- public field of the bean class
public String toString()
toString
in interface IDescriptionGroupDesc
toString
in class BeanDesc
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |