2019-03-19 18:02:08 +01:00
|
|
|
package org.gcube.data.publishing.gCataFeeder.catalogues.gCat;
|
|
|
|
|
|
|
|
import org.gcube.data.publishing.gCatFeeder.catalogues.CatalogueController;
|
|
|
|
import org.gcube.data.publishing.gCatFeeder.catalogues.CataloguePlugin;
|
|
|
|
import org.gcube.data.publishing.gCatFeeder.catalogues.model.CataloguePluginDescriptor;
|
|
|
|
import org.gcube.data.publishing.gCatFeeder.catalogues.model.faults.ControllerInstantiationFault;
|
|
|
|
import org.gcube.data.publishing.gCatFeeder.model.CatalogueInstanceDescriptor;
|
|
|
|
|
|
|
|
public class GCatPlugin implements CataloguePlugin {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public CataloguePluginDescriptor getDescriptor() {
|
|
|
|
return new CataloguePluginDescriptor("GCAT");
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public CatalogueController instantiateController(CatalogueInstanceDescriptor desc)
|
|
|
|
throws ControllerInstantiationFault {
|
|
|
|
return new GCatController(desc);
|
|
|
|
}
|
|
|
|
|
2019-03-25 12:55:34 +01:00
|
|
|
@Override
|
|
|
|
public void init() throws Exception {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void initInScope() throws Exception {
|
|
|
|
// TODO Auto-generated method stub
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-03-19 18:02:08 +01:00
|
|
|
}
|