org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc Class Reference

Inherits org.objectweb.jonas_ejb.deployment.api.EntityCmp1Desc.

Inheritance diagram for org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EntityJdbcCmp1Desc (ClassLoader classLoader, Entity ent, AssemblyDescriptor asd, JonasEntity jEnt, JLinkedList jMDRList, String fileName) throws DeploymentDescException
String getDatasourceJndiName ()
FieldJdbcDesc getFieldJdbcDesc (Field field)
String getJdbcTableName ()
String toString ()

Protected Member Functions

MethodDesc newMethodDescInstance (Method meth, int index)

Detailed Description

Class to hold meta-information related to an CMP v1 entity bean with jdbc data store.
Author:
Christophe Ney [cney@batisseurs.com] : Initial developer

Helene Joanin

Definition at line 50 of file EntityJdbcCmp1Desc.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc.EntityJdbcCmp1Desc ClassLoader  classLoader,
Entity  ent,
AssemblyDescriptor  asd,
JonasEntity  jEnt,
JLinkedList  jMDRList,
String  fileName
throws DeploymentDescException
 

constructor: called when the DeploymentDescriptor is read. Currently, called by both GenIC and createContainer.

Definition at line 59 of file EntityJdbcCmp1Desc.java.

References org.objectweb.jonas_ejb.deployment.xml.JdbcMapping.getAutomaticPk(), org.objectweb.jonas_ejb.deployment.xml.JdbcMapping.getCmpFieldJdbcMappingList(), org.objectweb.jonas_ejb.deployment.xml.CmpFieldJdbcMapping.getFieldName(), org.objectweb.jonas_ejb.deployment.xml.JdbcMapping.getFinderMethodJdbcMappingList(), org.objectweb.jonas_ejb.deployment.api.FieldJdbcDesc.getJdbcFieldName(), org.objectweb.jonas_ejb.deployment.xml.CmpFieldJdbcMapping.getJdbcFieldName(), org.objectweb.jonas_ejb.deployment.xml.JdbcMapping.getJdbcTableName(), org.objectweb.jonas_ejb.deployment.xml.FinderMethodJdbcMapping.getJdbcWhereClause(), org.objectweb.jonas_ejb.deployment.xml.JdbcMapping.getJndiName(), org.objectweb.jonas_ejb.deployment.xml.FinderMethodJdbcMapping.getJonasMethod(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getMethodDescIterator(), org.objectweb.jonas_ejb.deployment.xml.JonasMethod.getMethodName(), org.objectweb.jonas_ejb.deployment.xml.JonasMethod.getMethodParams(), org.objectweb.jonas_ejb.deployment.api.FieldDesc.getName(), org.objectweb.jonas_ejb.deployment.api.MethodDesc.matchPattern(), org.objectweb.jonas_ejb.deployment.api.MethodJdbcCmp1Desc.overwriteJdbcWhereClause(), and org.objectweb.jonas_ejb.deployment.xml.CmpFieldJdbcMapping.setJdbcFieldName().

Here is the call graph for this function:


Member Function Documentation

String org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc.getDatasourceJndiName  ) 
 

Get the datasource jndi name

Returns:
String representation of the jndi name

Definition at line 120 of file EntityJdbcCmp1Desc.java.

Referenced by org.objectweb.jonas.container.EJB.getAllDataSourceName(), and org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc.toString().

FieldJdbcDesc org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc.getFieldJdbcDesc 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

Definition at line 130 of file EntityJdbcCmp1Desc.java.

String org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc.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

Definition at line 140 of file EntityJdbcCmp1Desc.java.

Referenced by org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc.toString(), and org.objectweb.jonas_ejb.genic.VcMethod.VcMethod().

MethodDesc org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc.newMethodDescInstance Method  meth,
int  index
[protected]
 

factory method for method descriptors

Definition at line 147 of file EntityJdbcCmp1Desc.java.

String org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc.toString  ) 
 

String representation of the object for test purpose

Returns:
String representation of this object

Reimplemented from org.objectweb.jonas_ejb.deployment.api.EntityCmp1Desc.

Definition at line 155 of file EntityJdbcCmp1Desc.java.

References org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc.getDatasourceJndiName(), org.objectweb.jonas_ejb.deployment.api.EntityJdbcCmp1Desc.getJdbcTableName(), and org.objectweb.jonas_ejb.deployment.api.MethodDesc.toString().

Referenced by org.objectweb.jonas_ejb.genic.VcMethod.getActualParameters(), org.objectweb.jonas_ejb.genic.VcMethod.getArrayObjectParameters(), org.objectweb.jonas_ejb.genic.VcMethod.getExceptionList(), and org.objectweb.jonas_ejb.genic.VcMethod.getFormalParameters().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:11:19 2005 for JOnAS by  doxygen 1.3.9.1