112113114115116117118119120
} } public void startPelletServer(){ int port = 8081;//HTTP port for the server, e.g., 8081 PelletServerFactory pellet = new PelletServerFactory(); OWLlinkServer server = pellet.createServer(port);// server.run(); }
45678910
public class PelletServer extends Server{ @Override public void initialServer(int index) { server = (new PelletServerFactory()).createServer(ServerParams.getPort(index)); }