use of com.evolveum.midpoint.web.util.SchrodingerComponentInitListener in project midpoint by Evolveum.
the class MidPointApplication method initializeSchrodinger.
private void initializeSchrodinger() {
if (applicationContext == null) {
return;
}
Environment environment = applicationContext.getEnvironment();
if (environment == null) {
return;
}
String value = environment.getProperty(MidpointConfiguration.MIDPOINT_SCHRODINGER_PROPERTY);
boolean enabled = Boolean.parseBoolean(value);
if (enabled) {
LOGGER.info("Schrodinger plugin enabled");
getComponentInitializationListeners().add(new SchrodingerComponentInitListener());
}
}
Aggregations