@Override public void lifecycleStop(ILifecycleProgressMonitor monitor) { delegate.lifecycleStop(monitor); }
@Override public void lifecycleStop(ILifecycleProgressMonitor monitor, ILifecycleConstraints constraints) { delegate.lifecycleStop(monitor, constraints); }
@Override public void execute(ILifecycleProgressMonitor monitor) throws SiteWhereException { for (ILifecycleComponent component : getRegisteredLifecycleComponents()) { component.lifecycleStop(monitor); } } });
@Override public void lifecycleStop(ILifecycleProgressMonitor monitor) { getDelegate().lifecycleStop(monitor); }
@Override public void lifecycleStop(ILifecycleProgressMonitor monitor, ILifecycleConstraints constraints) { getDelegate().lifecycleStop(monitor, constraints); }
@Override public void execute(ILifecycleProgressMonitor monitor) throws SiteWhereException { if (getComponent() != null) { getComponent().lifecycleStop(monitor); } } }
@Override public void execute(ILifecycleProgressMonitor monitor) throws SiteWhereException { if (getComponent() != null) { try { getComponent().lifecycleStop(monitor); } catch (Throwable t) { throw new SiteWhereException("Unhandled exception shutting down component.", t); } } } }
@Override public void stopNestedComponent(ILifecycleComponent component, ILifecycleProgressMonitor monitor) throws SiteWhereException { component.lifecycleStop(monitor); if (component.getLifecycleStatus() == LifecycleStatus.LifecycleError) { getLogger().error("Unable to stop '" + component.getComponentName() + "'", component.getLifecycleError()); } getLifecycleComponents().remove(component.getComponentId(), component); }