org.ow2.jonas.deployment.ejb
Class EntityJdbcCmp2Desc
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
org.ow2.jonas.deployment.ejb.EntityCmpDesc
org.ow2.jonas.deployment.ejb.EntityCmp2Desc
org.ow2.jonas.deployment.ejb.EntityJdbcCmp2Desc
- All Implemented Interfaces:
- IDescriptionGroupDesc, IJNDIEnvRefsGroupDesc
public class EntityJdbcCmp2Desc
- extends EntityCmp2Desc
Class to hold meta-information related to an CMP v2 entity bean with jdbc data store.
- Author:
- Christophe Ney [cney@batisseurs.com] : Initial developer, Helene Joanin on May 2003: code cleanup, Helene Joanin on May 2003: complement for legacy first version
Fields inherited from class org.ow2.jonas.deployment.ejb.EntityDesc |
cleanup, CLEANUP_CREATE, CLEANUP_NONE, CLEANUP_REMOVEALL, CLEANUP_REMOVEDATA, deadlockTimeout, hardLimit, inactivityTimeout, jdbcAutomaticPk, LOCK_CONTAINER_READ_COMMITTED, LOCK_CONTAINER_READ_UNCOMMITTED, LOCK_CONTAINER_READ_WRITE, LOCK_CONTAINER_SERIALIZED, LOCK_CONTAINER_SERIALIZED_TRANSACTED, LOCK_DATABASE, LOCK_READ_ONLY, lockPolicy, maxWaitTime, METHODS_HOME_NO_TX, METHODS_REMOTE_NO_TX, passivationTimeout, pkObjectType, prefetch, primaryKeyClass, readTimeout, reentrant, 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 |
Methods inherited from class org.ow2.jonas.deployment.ejb.EntityCmp2Desc |
addEjbRelationshipRoleDesc, getAbstractSchemaName, getDeploymentDescEjb2, getEjbRelationshipRoleDesc, getEjbRelationshipRoleDescIterator, getFactoryClassName, getJormAccessorClassName, getJormBinderClassName, getJormBindingClassName, getJormClassName, getJormCoherenceHelperFQItfName, getJormCoherenceHelperItfName, getJormCoherenceHelperPackageName, getJormPKClassName, getJormPNameGetterClassName, getJormStateClassName, needJormCoherenceHelper, newMethodDescInstance |
Methods inherited from class org.ow2.jonas.deployment.ejb.EntityDesc |
checkTxAttribute, getCleanupPolicy, getDeadlockTimeout, getInactivityTimeout, getLockPolicy, getMaxWaitTime, getPassivationTimeout, getPrimaryKeyClass, getReadTimeout, isAutomaticPk, isHardLimit, isPrefetch, isReentrant, isShared, isUndefinedPK |
Methods inherited from class org.ow2.jonas.deployment.ejb.BeanDesc |
addEJBMethodDesc, addMethodDesc, check, checkRemoteException, checkRunAsMapping, checkValidTypesForRmi, getCacheMax, getCluster, getDeploymentDesc, getDerivedBeanName, getEjb10Environment, getEjbClass, getEjbName, getEjbTimeoutSignature, getFullDerivedBeanName, getFullWrpHandleName, getFullWrpHomeName, getFullWrpLocalHomeName, getFullWrpLocalName, getFullWrpRemoteName, getHashCodeForIdentifier, getHomeClass, getIdentifier, getJndiLocalName, getJndiName, getLocalClass, getLocalHomeClass, getMethodDesc, getMethodDesc, getMethodDescIterator, getParentClass, getPoolMin, getRemoteClass, getRunAsPrincipalName, getRunAsRole, getSasComponent, getSecurityRoleRefDescList, getTimerTxAttribute, getWrpHandleName, getWrpHomeName, getWrpLocalHomeName, getWrpLocalName, getWrpRemoteName, hasDefinedLocalInterface, isClusterReplicated, loadExtraClasses, setCluster, setClusterReplicated, setDeploymentDesc, setJndiLocalName, setJndiName, setSasComponent, verifyRoleName |
dsname
protected String dsname
jdbcTableName
protected String jdbcTableName
EntityJdbcCmp2Desc
public EntityJdbcCmp2Desc(ClassLoader classLoader,
Entity ent,
AssemblyDescriptor asd,
JonasEntity jEnt,
DeploymentDescEjb2 dc2d,
JLinkedList jMDRList,
String fileName)
throws DeploymentDescException
- constructor: called when the DeploymentDescriptor is read.
Currently, called by both GenIC and createContainer.
- Throws:
DeploymentDescException
newFieldDescInstance
protected FieldDesc newFieldDescInstance()
- field descriptor factory method
- Overrides:
newFieldDescInstance
in class EntityCmpDesc
- Returns:
- a FieldDesc.
getDatasourceJndiName
public String getDatasourceJndiName()
- Get the datasource jndi name
- Returns:
- String representation of the jndi name
getJdbcTableName
public String getJdbcTableName()
- Get the associated DataBase table name.
- Returns:
- Name of the database table where entity bean is stored
toString
public String toString()
- String representation of the object for test purpose
- Specified by:
toString
in interface IDescriptionGroupDesc
- Overrides:
toString
in class EntityCmp2Desc
- Returns:
- String representation of this object
Copyright © 2010 OW2 Consortium. All Rights Reserved.