org.objectweb.jonas_ejb.deployment.api
Class EntityJdbcCmp1Desc
java.lang.Object
org.objectweb.jonas_lib.deployment.api.DescriptionGroupDesc
org.objectweb.jonas_lib.deployment.api.JndiEnvRefsGroupDesc
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.EntityCmp1Desc
org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc
- All Implemented Interfaces:
- DescriptionGroup, JndiEnvRefsGroup
- public class EntityJdbcCmp1Desc
- extends EntityCmp1Desc
Class to hold meta-information related to an CMP v1 entity bean with jdbc data store.
- Author:
- Christophe Ney [cney@batisseurs.com]
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.EntityDesc |
cleanup, CLEANUP_CREATE, CLEANUP_NONE, CLEANUP_REMOVEALL, CLEANUP_REMOVEDATA, jdbcAutomaticPk, LOCK_CONTAINER_READ_COMMITTED, LOCK_CONTAINER_READ_UNCOMMITTED, LOCK_CONTAINER_SERIALIZED, LOCK_DATABASE, lockPolicy, METHODS_HOME_NO_TX, METHODS_REMOTE_NO_TX, passivationTimeout, pkObjectType, prefetch, primaryKeyClass, reentrant, shared |
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
BEAN_TRANSACTION_TYPE, cacheMax, CONTAINER_TRANSACTION_TYPE, deploymentDesc, derivedBeanName, ejb10EnvProps, ejbClass, ejbName, fullDerivedBeanName, home, jndiLocalName, jndiName, local, localhome, logger, poolMin, remote, securityRoleRefDescList, TRANS |
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.BeanDesc |
addMethodDesc, check, checkRemoteException, checkValidTypesForRmi, getCacheMax, getDeploymentDesc, getDerivedBeanName, getEjb10Environment, getEjbClass, getEjbName, getFullDerivedBeanName, getFullWrpHandleName, getFullWrpHomeName, getFullWrpLocalHomeName, getFullWrpLocalName, getFullWrpRemoteName, getHomeClass, getIdentifierFromEjbName, getJndiLocalName, getJndiName, getLocalClass, getLocalHomeClass, getMethodDesc, getMethodDesc, getMethodDescIterator, getPoolMin, getRemoteClass, getRunAsRole, getSecurityRoleRefDescList, getWrpHandleName, getWrpHomeName, getWrpLocalHomeName, getWrpLocalName, getWrpRemoteName, setDeploymentDesc, verifyRoleName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EntityJdbcCmp1Desc
public EntityJdbcCmp1Desc(java.lang.ClassLoader classLoader,
Entity ent,
AssemblyDescriptor asd,
JonasEntity jEnt,
java.lang.String fileName)
throws DeploymentDescException
- constructor: called when the DeploymentDescriptor is read.
Currently, called by both GenIC and createContainer.
getDatasourceJndiName
public java.lang.String getDatasourceJndiName()
- Get the datasource jndi name
- Returns:
- String representation of the jndi name
getFieldJdbcDesc
public FieldJdbcDesc getFieldJdbcDesc(java.lang.reflect.Field field)
- Get jdbc specific descriptor for a given field.
Used by GenIC
- Parameters:
field
- of the bean class
- Returns:
- Descriptor for the given field
getJdbcTableName
public java.lang.String getJdbcTableName()
- Get the associated DataBase table name in case of container persistence type.
Used by GenIC (This information is JOnAS specific).
- Returns:
- Name of the database table where entity bean is stored
newMethodDescInstance
protected MethodDesc newMethodDescInstance(java.lang.reflect.Method meth,
int index)
- factory method for method descriptors
- Overrides:
newMethodDescInstance
in class BeanDesc
toString
public java.lang.String toString()
- String representation of the object for test purpose
- Specified by:
toString
in interface DescriptionGroup
- Overrides:
toString
in class EntityCmp1Desc
- Returns:
- String representation of this object