/** {@inheritDoc} Stop and release the webservice publisher. */ public void stop(final BundleContext context) throws Exception { if (_webservicePublisher != null) { _webservicePublisher.close(); } _webservicePublisher = null; s_plugin = null; }
/** {@inheritDoc} Create and activate Webservice Publisher. */ public void start(final BundleContext context) throws Exception { s_plugin = this; _webservicePublisher = new WebservicePublisher(context); _webservicePublisher.open(); }