You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
707 B
Java
34 lines
707 B
Java
package org.gcube.spatial.data.sdi;
|
|
|
|
import javax.inject.Inject;
|
|
|
|
import org.gcube.smartgears.ApplicationManager;
|
|
import org.gcube.smartgears.ContextProvider;
|
|
import org.gcube.smartgears.context.application.ApplicationContext;
|
|
import org.gcube.spatial.data.sdi.engine.MetadataTemplateManager;
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
@Slf4j
|
|
public class SDIServiceManager implements ApplicationManager {
|
|
|
|
@Inject
|
|
MetadataTemplateManager templateManager;
|
|
|
|
|
|
@Override
|
|
public void onInit() {
|
|
log.trace("Initializing template manager..");
|
|
|
|
ApplicationContext ctx = ContextProvider.get();
|
|
templateManager.init(ctx);
|
|
}
|
|
|
|
@Override
|
|
public void onShutdown() {
|
|
// TODO Auto-generated method stub
|
|
|
|
}
|
|
|
|
}
|