use of org.apache.openejb.config.sys.ServicesJar in project tomee by apache.
the class ServiceJarXmlLoader method parse.
private void parse(final String namespace) {
try {
// Load and try again
final ServicesJar servicesJar = JaxbOpenejb.readServicesJar(namespace);
for (final ServiceProvider provider : servicesJar.getServiceProvider()) {
final ID found = new ID(namespace, provider.getId());
loaded.put(found, provider);
}
} catch (final OpenEJBException e) {
throw new IllegalStateException(e);
}
}
Aggregations