if (event instanceof ContextLoadedEvent) {
//JD: look up GeoServer and register now rather than use constructor injection
// to avoid circular dependency during service loading startup
geoServer = GeoServerExtensions.bean(GeoServer.class,
((ContextLoadedEvent) event).getApplicationContext());
listener = new ConfigurationListenerAdapter() {
@Override
public void handleServiceChange(ServiceInfo service, List<String> propertyNames,
List<Object> oldValues, List<Object> newValues) {
if (service instanceof WPSInfo) {
resetProcessMappings();