/** * Stop method of the bundle activator. Calls the <code>destroy()</code> method * and cleans up all left over dependencies. * * @param context the bundle context */ public void stop(BundleContext context) throws Exception { destroy(m_context, m_manager); m_manager.clear(); m_manager = null; m_context = null; }
/** * Start method of the bundle activator. Initializes the dependency manager * and calls <code>init()</code>. * * @param context the bundle context */ public void start(BundleContext context) throws Exception { m_context = context; m_logger = new Logger(context); m_manager = new DependencyManager(context, m_logger); setDependencyManager(m_manager); init(m_context, m_manager); }