41 lines
847 B
Java
41 lines
847 B
Java
/**
|
|
*
|
|
*/
|
|
package org.gcube.socialnetworking.socialdataindexer;
|
|
|
|
import java.util.Map;
|
|
|
|
import org.gcube.vremanagement.executor.plugin.Plugin;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
|
public class SocialDataIndexerPlugin extends Plugin<SocialDataIndexerPluginDeclaration>{
|
|
|
|
/**
|
|
* Logger
|
|
*/
|
|
private static Logger logger = LoggerFactory.getLogger(SocialDataIndexerPlugin.class);
|
|
|
|
public SocialDataIndexerPlugin(SocialDataIndexerPluginDeclaration pluginDeclaration) {
|
|
super(pluginDeclaration);
|
|
logger.debug("contructor");
|
|
}
|
|
|
|
/**{@inheritDoc}*/
|
|
@Override
|
|
public void launch(Map<String, Object> inputs) throws Exception {
|
|
// TODO Auto-generated method stub
|
|
}
|
|
|
|
/**{@inheritDoc}*/
|
|
@Override
|
|
protected void onStop() throws Exception {
|
|
logger.debug("onStop()");
|
|
|
|
Thread.currentThread().interrupt();
|
|
}
|
|
|
|
|
|
}
|