/** * {@inheritDoc} */ public void close() { m_hasBeenClosed = true; if (!lateRefresh) { m_ac.stop(); } if(m_ac.isActive()) { m_ac.publishEvent(new SakaiComponentEvent(this, SakaiComponentEvent.Type.STOPPING)); } m_ac.close(); }
m_ac.publishEvent(new SakaiComponentEvent(this, SakaiComponentEvent.Type.STARTED)); } catch (Exception e) { if (Boolean.valueOf(System.getProperty(SHUTDOWN_ON_ERROR, "false"))) {