org.objectweb.jonas_ejb.deployment.api
Class DeploymentCmp2Desc

java.lang.Object
  |
  +--org.objectweb.jonas_ejb.deployment.api.DeploymentDesc
        |
        +--org.objectweb.jonas_ejb.deployment.api.DeploymentCmp2Desc

public class DeploymentCmp2Desc
extends DeploymentDesc

Class to hold meta-information related to the deployment of an ejb-jar with JORM based CMP2 persistence

Author:
S.Chassande-Barrioz, Christophe Ney [cney@batisseurs.com]

Field Summary
static java.lang.String PROJECT_NAME
          This constant defines the default mapping name
 
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.DeploymentDesc
asd, beanDesc, displayName, earRoleNames, logger
 
Constructor Summary
DeploymentCmp2Desc(java.lang.ClassLoader classLoader, org.objectweb.jonas_ejb.deployment.xml.EjbJar ejbJar, org.objectweb.jonas_ejb.deployment.xml.JonasEjbJar jonasEjbJar, org.objectweb.util.monolog.api.Logger l)
          Build the Meta-Information from the XML data binding trees containing the EJB and JOnAS deployment descriptors.
 
Method Summary
 org.objectweb.jorm.metainfo.api.Manager getManager()
          get the JORM Manager At first call, loads all the meta information for entity beans CMP2
protected  BeanDesc newEntityBeanDesc(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)
           
 java.lang.String toString()
          String representation of the object for test purpose
 
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.DeploymentDesc
getBeanDesc, getBeanDesc, getDisplayName, getEarRoleNames, getLogger, setEarRoleNames, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROJECT_NAME

public static final java.lang.String PROJECT_NAME
This constant defines the default mapping name
Constructor Detail

DeploymentCmp2Desc

public DeploymentCmp2Desc(java.lang.ClassLoader classLoader,
                          org.objectweb.jonas_ejb.deployment.xml.EjbJar ejbJar,
                          org.objectweb.jonas_ejb.deployment.xml.JonasEjbJar jonasEjbJar,
                          org.objectweb.util.monolog.api.Logger l)
                   throws DeploymentDescException
Build the Meta-Information from the XML data binding trees containing the EJB and JOnAS deployment descriptors.
Method Detail

newEntityBeanDesc

protected BeanDesc newEntityBeanDesc(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)
                              throws DeploymentDescException
Overrides:
newEntityBeanDesc in class DeploymentDesc

getManager

public org.objectweb.jorm.metainfo.api.Manager getManager()
                                                   throws DeploymentDescException
get the JORM Manager At first call, loads all the meta information for entity beans CMP2

toString

public java.lang.String toString()
String representation of the object for test purpose
Overrides:
toString in class DeploymentDesc
Returns:
String representation of this object