package org.gcube.application.perform.service; import java.net.URL; import org.gcube.smartgears.ApplicationManager; import org.gcube.smartgears.ContextProvider; import org.gcube.smartgears.context.application.ApplicationContext; import lombok.extern.slf4j.Slf4j; @Slf4j public class PerformServiceManager implements ApplicationManager{ @Override public void onInit() { try { ApplicationContext context=ContextProvider.get(); URL resourceUrl = context.application().getResource("/WEB-INF/config.properties"); LocalConfiguration.init(resourceUrl); }catch(Throwable t) { log.error("UNABLE TO INIT SERVICE ", t); } } @Override public void onShutdown() { // TODO Auto-generated method stub } }