/** * The default implementation of this method stops all of the destinations * of the service. * If subclasses override, they must call <code>super.stop()</code>. */ public void stop() { if (!isStarted()) { return; } stopDestinations(); super.stop(); // Remove management if (isManaged() && getMessageBroker().isManaged()) { if (getControl() != null) { getControl().unregister(); setControl(null); } setManaged(false); } }
/** * The default implementation of this method stops all of the destinations * of the service. * If subclasses override, they must call <code>super.stop()</code>. */ @Override public void stop() { if (!isStarted()) { return; } stopDestinations(); super.stop(); // Remove management if (isManaged() && getMessageBroker().isManaged()) { if (getControl() != null) { getControl().unregister(); setControl(null); } setManaged(false); } }
/** * The default implementation of this method stops all of the destinations * of the service. * If subclasses override, they must call <code>super.stop()</code>. */ @Override public void stop() { if (!isStarted()) { return; } stopDestinations(); super.stop(); // Remove management if (isManaged() && getMessageBroker().isManaged()) { if (getControl() != null) { getControl().unregister(); setControl(null); } setManaged(false); } }
if (getControl() != null) controller.addService(getControl().getObjectName());
if (getControl() != null) controller.addService(getControl().getObjectName());
if (getControl() != null) controller.addService(getControl().getObjectName());