org.objectweb.jonas_ejb.deployment.api
Class EntityJdbcCmp2Desc
java.lang.Object
org.objectweb.jonas_ejb.deployment.api.BeanDesc
org.objectweb.jonas_ejb.deployment.api.EntityDesc
org.objectweb.jonas_ejb.deployment.api.EntityCmpDesc
org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc
org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp2Desc
- 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]
contributor(s):
- Helene Joanin on May 2003: code cleanup
- Helene Joanin on May 2003: complement for legacy first version
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.EntityDesc |
cleanup, CLEANUP_CREATE, CLEANUP_NONE, CLEANUP_REMOVEALL, CLEANUP_REMOVEDATA, METHODS_HOME_NO_TX, METHODS_REMOTE_NO_TX, passivationTimeout, prefetch, primaryKeyClass, reentrant, 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 |
EntityJdbcCmp2Desc(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,
DeploymentCmp2Desc dc2d,
java.lang.String fileName)
constructor: called when the DeploymentDescriptor is read.
|
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.EntityCmp2Desc |
addEjbRelationshipRoleDesc, addToJormList, getAbstractSchemaName, getCmpFieldDescIterator, getDeploymentCMP2Desc, getEjbRelationshipRoleDesc, getEjbRelationshipRoleDescIterator, getFactoryClassName, getJormAccessorClassName, getJormBinderClassName, getJormBindingClassName, getJormClassName, getJormCoherenceHelperFQItfName, getJormCoherenceHelperItfName, getJormCoherenceHelperPackageName, getJormList, getJormPKClassName, getJormPNameGetterClassName, needJormCoherenceHelper, newMethodDescInstance |
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
addMethodDesc, check, checkRemoteException, getCacheMax, getDeploymentDesc, getDerivedBeanName, getDisplayName, getEjb10Environment, getEjbClass, getEjbLocalRefDesc, getEjbName, getEjbRefDesc, getEnvEntryDesc, getFullDerivedBeanName, getFullWrpHandleName, getFullWrpHomeName, getFullWrpLocalHomeName, getFullWrpLocalName, getFullWrpRemoteName, getHomeClass, getIdentifierFromEjbName, getJndiLocalName, getJndiName, getLocalClass, getLocalHomeClass, getMethodDesc, getMethodDesc, getMethodDescIterator, getPoolMin, getRemoteClass, getResourceEnvRefDesc, getResourceRefDesc, getRoleLink, getRunAsRole, getSecurityRoleNames, getServiceRefDesc, getWrpHandleName, getWrpHomeName, getWrpLocalHomeName, getWrpLocalName, getWrpRemoteName, setDeploymentDesc, verifyRoleName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
dsname
protected java.lang.String dsname
jdbcTableName
protected java.lang.String jdbcTableName
jdbcAutomaticPk
protected java.lang.String jdbcAutomaticPk
EntityJdbcCmp2Desc
public EntityJdbcCmp2Desc(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,
DeploymentCmp2Desc dc2d,
java.lang.String fileName)
throws DeploymentDescException
- constructor: called when the DeploymentDescriptor is read.
Currently, called by both GenIC and createContainer.
newFieldDescInstance
protected FieldDesc newFieldDescInstance()
- field descriptor factory method
- Overrides:
newFieldDescInstance
in class EntityCmpDesc
- Returns:
- a FieldDesc.
getDatasourceJndiName
public java.lang.String getDatasourceJndiName()
- Get the datasource jndi name
- Returns:
- String representation of the jndi name
getJdbcTableName
public java.lang.String getJdbcTableName()
- Get the associated DataBase table name.
- Returns:
- Name of the database table where entity bean is stored
isAutomaticPk
public boolean isAutomaticPk()
- Assessor for existence of automatic-pk element to True value
- Returns:
- true if automatic-pk element value is true else otherwise false
toString
public java.lang.String toString()
- String representation of the object for test purpose
- Overrides:
toString
in class EntityCmp2Desc
- Returns:
- String representation of this object