|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_ejb.deployment.api.DeploymentDesc
org.objectweb.jonas_ejb.deployment.api.DeploymentCmp2Desc
Class to hold meta-information related to the deployment of an ejb-jar This subclass is for specification EJB 2.0, i.e. CMP2 persistance and MDB. It is also responsible for loading the Jorm Meta Information.
Field Summary |
Fields inherited from class org.objectweb.jonas_ejb.deployment.api.DeploymentDesc |
asd, beanDesc, displayName, earRoleNames, fileName, 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,
java.lang.String fileName)
Build the Meta-Information from the XML data binding trees containing the EJB and JOnAS deployment descriptors. |
Method Summary | |
java.util.Iterator |
getEjbRelationDescIterator()
Get iterator of meta-info for all defined relations |
org.objectweb.jorm.metainfo.api.Manager |
getJormManager()
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)
In case of beans with old CMP1 persistance, we need to instanciate the old class, as if we were in an old Deployment Descriptor. |
java.lang.String |
toString()
String representation of the object for test purpose |
Methods inherited from class org.objectweb.jonas_ejb.deployment.api.DeploymentDesc |
asn2BeanDesc, getBeanDesc, getBeanDesc, getBeanDescIterator, getBeanDescWithLocalInterface, getDisplayName, getEarRoleNames, getLogger, setEarRoleNames, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
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, java.lang.String fileName) throws DeploymentDescException
classLoader
- The Class Loader to be usedejbJar
- The EjbJar information, from standard deployment descriptor.jonasEjbJar
- The JonasEjbJar information, from JOnAS specific deployment descriptor.l
- The logger to be used for tracing
DeploymentDescException
- Error when building the Deployment DescriptorMethod Detail |
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
newEntityBeanDesc
in class DeploymentDesc
classLoader
- The ClassLoader to be usedent
- Entity MetaInformation from XML filesasd
- AssemblyDescriptor MetaInformation from XML filesjEnt
- JonasEntity MetaInformation from XML files
DeploymentDescException
- Cannot build Entity Descriptorpublic org.objectweb.jorm.metainfo.api.Manager getJormManager() throws DeploymentDescException
DeploymentDescException
- Cannot build Jorm Meta Informationpublic java.util.Iterator getEjbRelationDescIterator()
public java.lang.String toString()
toString
in class DeploymentDesc
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |