/** * TESTING ONLY <br/> * closes and then destroys the component manager <br/> * WARNING: this is NOT safe to do in a production system */ public static void shutdown() { m_lock.lock(); try { if (m_componentManager != null) { m_componentManager.close(); m_componentManager = null; } } finally { m_lock.unlock(); } }
public static void close() { getInstance().close(); }