1 25 26 27 package org.objectweb.jonas_ejb.deployment.api; 28 29 import org.objectweb.jonas_ejb.deployment.xml.AssemblyDescriptor; 30 import org.objectweb.jonas_ejb.deployment.xml.EjbJar; 31 import org.objectweb.jonas_ejb.deployment.xml.Entity; 32 import org.objectweb.jonas_ejb.deployment.xml.JonasEjbJar; 33 import org.objectweb.jonas_ejb.deployment.xml.JonasEntity; 34 import org.objectweb.jonas_lib.deployment.api.DeploymentDescException; 35 import org.objectweb.jonas_lib.deployment.xml.JLinkedList; 36 import org.objectweb.util.monolog.api.Logger; 37 import org.objectweb.util.monolog.api.BasicLevel; 38 39 43 public class DeploymentDescEjb1_1 extends DeploymentDesc { 44 45 48 public DeploymentDescEjb1_1(ClassLoader cl, EjbJar ej, 49 JonasEjbJar jej, Logger l, 50 String fileName) 51 throws DeploymentDescException { 52 super(cl, ej, jej, l, fileName); 53 if (logger.getCurrentIntLevel() == BasicLevel.DEBUG) { 55 logger.log(BasicLevel.DEBUG, "DEPLOYMENT DESCRIPTOR = \n(" + this.toString() + "\n)"); 56 } 57 } 58 59 protected BeanDesc newEntityBeanDesc(ClassLoader classLoader, 60 Entity ent, 61 AssemblyDescriptor asd, 62 JonasEntity jEnt, 63 JLinkedList jMDRList) throws DeploymentDescException { 64 return new EntityJdbcCmp1Desc(classLoader, ent, asd, jEnt, jMDRList, fileName); 65 } 66 67 } 68 | Popular Tags |