org.objectweb.jonas_ejb.lib
Class RdbMappingBuilder

java.lang.Object
  extended by org.objectweb.jonas_ejb.lib.RdbMappingBuilder

public class RdbMappingBuilder
extends java.lang.Object

Class to hold meta-information for Jorm

Author:
Sebastien Chassande-Barrioz for INRIA : Initial developper, Philippe Durieux

Field Summary
static java.lang.String MAPPER_NAME
          JOnAS map Entity beans on relational Databases : The JORM mapper is "rdb".
static java.lang.String PROJECT_NAME
          Jorm need a project name to store the mapping information (Jorm Meta Information)
 
Constructor Summary
RdbMappingBuilder(DeploymentDescEjb2 dd, org.objectweb.util.monolog.api.Logger logger)
          Constructor
 
Method Summary
 org.objectweb.jorm.metainfo.api.Manager getJormMIManager()
           
static java.lang.String getProjectName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAPPER_NAME

public static final java.lang.String MAPPER_NAME
JOnAS map Entity beans on relational Databases : The JORM mapper is "rdb". It could be a good idea to put all the mapping information in another Class

See Also:
Constant Field Values

PROJECT_NAME

public static final java.lang.String PROJECT_NAME
Jorm need a project name to store the mapping information (Jorm Meta Information)

See Also:
Constant Field Values
Constructor Detail

RdbMappingBuilder

public RdbMappingBuilder(DeploymentDescEjb2 dd,
                         org.objectweb.util.monolog.api.Logger logger)
                  throws DeploymentDescException
Constructor

Parameters:
dd - Deployment Descriptor for the ejb-jar
logger - the Logger to be used for tracing.
Throws:
DeploymentDescException - Cannot build Jorm Meta Information
Method Detail

getJormMIManager

public org.objectweb.jorm.metainfo.api.Manager getJormMIManager()
Returns:
the Jorm MetaInfo Manager

getProjectName

public static java.lang.String getProjectName()
Returns:
the Jorm Project Name