tracker.close();
OSGIProxyServlet.tracker = null;
}
//Unregistering ToolBox services
ServiceReference toolBoxService = getBundleContext().getServiceReference( PrimitiveToolboxManager.class.getName() );
if ( toolBoxService != null ) {
bundleContext.ungetService( toolBoxService );
}
//Unregistering Workflow services
ServiceReference workflowService = getBundleContext().getServiceReference( WorkflowAPIOsgiService.class.getName() );
if ( workflowService != null ) {
bundleContext.ungetService( workflowService );
}
// Stop felix