1 package net.sf.openrocket.plugin.example;
3 import java.util.ArrayList;
6 import net.sf.openrocket.plugin.AbstractService;
7 import net.xeoh.plugins.base.annotations.PluginImplementation;
10 public class ExampleService extends AbstractService<ExamplePluginInterface> {
12 protected ExampleService() {
13 super(ExamplePluginInterface.class);
17 protected List<ExamplePluginInterface> getPlugins(Object... args) {
18 List<ExamplePluginInterface> plugins = new ArrayList<ExamplePluginInterface>();
19 plugins.add(new ExamplePlugin("a"));
20 plugins.add(new ExamplePlugin("b"));