...
The sample code is to implement an annotation operation, so in the Activator.java it registers service for Alignment, Annotation and ProbeSet
Code Block | ||||
---|---|---|---|---|
| ||||
@Override protected ServiceRegistration<?>\[\] registerService(IGBService igbService) throws Exception \{ return new ServiceRegistration\[\] \{ bundleContext.registerService(Operator.class, new SamplePlugin(FileTypeCategory.Alignment), null), bundleContext.registerService(Operator.class, new SamplePlugin(FileTypeCategory.Annotation), null), bundleContext.registerService(Operator.class, new SamplePlugin(FileTypeCategory.ProbeSet), null) }; } |
...