// we will assume generic OSGI
Class initializerClass = Class.forName(this.initializerClassName);
Class[] argTypes = new Class[]{ClassLoader.class, Map.class};
Object[] args = new Object[]{classLoader, m};
initializer = (JPAInitializer)initializerClass.getConstructor(argTypes).newInstance(args);
initializer.initialize(m);
return initializer;
} catch (Exception exception) {
AbstractSessionLog.getLog().log(SessionLog.WARNING,
LoggingLocalization.buildMessage("osgi_initializer_failed", new Object[]{this.initializerClassName, exception}));
AbstractSessionLog.getLog().logThrowable(SessionLog.WARNING, exception);