| org.objectweb.jonas_ejb.deployment.api.DeploymentDesc org.objectweb.jonas_ejb.deployment.api.DeploymentDescEjb2
DeploymentDescEjb2 | public class DeploymentDescEjb2 extends DeploymentDesc (Code) | | Class to hold meta-information related to the deployment of an ejb-jar
This subclass is for specification EJB 2.x, i.e. CMP2 persistance and MDB.
It is also responsible for loading the Jorm Meta Information.
author: S.Chassande-Barrioz : Initial developer author: Christophe Ney [cney@batisseurs.com] author: Philippe Durieux (new Jorm mapping) |
DeploymentDescEjb2 | public DeploymentDescEjb2(ClassLoader classLoader, EjbJar ejbJar, JonasEjbJar jonasEjbJar, Logger l, String fileName) throws DeploymentDescException(Code) | | Build the Meta-Information from the XML data binding trees
containing the EJB and JOnAS deployment descriptors.
Parameters: classLoader - The Class Loader to be used Parameters: ejbJar - The EjbJar information, from standard deployment descriptor. Parameters: jonasEjbJar - The JonasEjbJar information, from JOnAS specific deployment descriptor. Parameters: l - The logger to be used for tracing Parameters: FileName - deployment desc's jar or directory name throws: DeploymentDescException - Error when building the Deployment Descriptor |
getEjbRelationDescIterator | public Iterator getEjbRelationDescIterator()(Code) | | Get iterator of meta-info for all defined relations
an iterator of EjbRelationDesc |
newEntityBeanDesc | protected BeanDesc newEntityBeanDesc(ClassLoader classLoader, Entity ent, AssemblyDescriptor asd, JonasEntity jEnt, JLinkedList jMDRList) throws DeploymentDescException(Code) | | In case of beans with old CMP1 persistance, we need to instanciate the old class,
as if we were in an old Deployment Descriptor.
Default is CMP2.x for entity beans with a EJB2.0 DD.
Parameters: classLoader - The ClassLoader to be used Parameters: ent - Entity MetaInformation from XML files Parameters: asd - AssemblyDescriptor MetaInformation from XML files Parameters: jEnt - JonasEntity MetaInformation from XML files The Entity Bean Descriptor, for the good CMP version. throws: DeploymentDescException - Cannot build Entity Descriptor |
toString | public String toString()(Code) | | String representation of the object for test purpose
String representation of this object |
|
|