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);
}