Package org.apache.openejb.plugins.common

Examples of org.apache.openejb.plugins.common.SessionBeanInterfaceModifier


      converterList.add(new SessionBeanConverter(jdtFacade));
      converterList.add(new EntityBeanConverter(jdtFacade));
      converterList.add(new EjbReferencesConverter(jdtFacade));
     
      if (ejb3Interfaces) {
        SessionBeanInterfaceModifier converter = new SessionBeanInterfaceModifier(jdtFacade);
        converter.setUseHome(useHomeInterface);
        converterList.add(converter);
      }
     
      if (remoteAnnotations) {
        SessionBeanRemoteAnnotationAdder converter = new SessionBeanRemoteAnnotationAdder(jdtFacade);
        converter.setUseHome(useHomeInterface);
        converterList.add(converter);
      }
     
      if (convertEntityBeansToPojos) {
        converterList.add(new EntityBeanPojoConverter(jdtFacade));
      }
     
      if (generateEntityManagerCode) {
        converterList.add(new EntityBeanUsageConverter(jdtFacade));
      }
     
      Converter[] converters = converterList.toArray(new Converter[0]);
     
      OpenEjbXmlConverter converter = new OpenEjbXmlConverter(converters, new EclipseProjectClassLoader(getClass().getClassLoader(), project));
      converter.convert(ejbJarInputSource, openEjbJarInputSource);

      String[] warnings = jdtFacade.getWarnings();
      for (String warning : warnings) {
        status.addWarning(warning);
      }
View Full Code Here

TOP

Related Classes of org.apache.openejb.plugins.common.SessionBeanInterfaceModifier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.