formatted
This commit is contained in:
parent
9e3549e410
commit
a991055fd6
|
@ -41,14 +41,13 @@ public class GeoPortalService extends ResourceConfig{
|
|||
|
||||
public GeoPortalService() {
|
||||
super();
|
||||
//Register interrfaces
|
||||
// Register interfaces
|
||||
|
||||
log.info("Initializing serialization");
|
||||
JacksonJaxbJsonProvider provider = new JacksonJaxbJsonProvider();
|
||||
provider.setMapper(Serialization.mapper);
|
||||
register(provider);
|
||||
|
||||
|
||||
registerClasses(RequestFilter.class);
|
||||
|
||||
registerClasses(ProfiledDocuments.class);
|
||||
|
@ -67,22 +66,16 @@ public class GeoPortalService extends ResourceConfig{
|
|||
ImplementationProvider.get().setEngine(new UCDManager(), UCDManagerI.class);
|
||||
ImplementationProvider.get().setEngine(new ConfigurationCache(), ConfigurationCache.ConfigurationMap.class);
|
||||
|
||||
|
||||
for (Map.Entry<Engine<Object>, Class<Object>> entry : customImplementations().entrySet()) {
|
||||
log.warn("LOADING CUSTOM ENGINE : {} serving {}", entry.getKey(), entry.getValue());
|
||||
ImplementationProvider.get().setEngine(entry.getKey(), entry.getValue());
|
||||
}
|
||||
|
||||
log.debug("ENGINES ARE : ");
|
||||
ImplementationProvider.get().getManagerList().forEach(
|
||||
(aClass, s) -> log.debug("{} serving {} ",aClass,s));
|
||||
ImplementationProvider.get().getManagerList().forEach((aClass, s) -> log.debug("{} serving {} ", aClass, s));
|
||||
|
||||
ImplementationProvider.get().initEngines();
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue