@Override public void stop(StopContext context) { ROOT_LOGGER.debugf("stopped AdminObjectService %s", context.getController().getName()); }
@Override public void stop(org.jboss.msc.service.StopContext context) { ROOT_LOGGER.debugf("stopped DirectConnectionFactoryActivatorService %s", context.getController().getName()); }
@Override public void stop(StopContext context) { ROOT_LOGGER.debugf("stopped ManagementRepositoryService %s", context.getController().getName()); }
@Override public void stop(StopContext context) { ROOT_LOGGER.debugf("stopped ConnectionFactoryService %s", context.getController().getName()); }
@Override public void stop(StopContext context) { ROOT_LOGGER.debugf("stopped DirectConnectionFactoryActivatorService %s", context.getController().getName()); }
@Override public void stop(StopContext context) { value.stop(); ROOT_LOGGER.debugf("Stopped CcmService %s", context.getController().getName()); }
@Override public void stop(StopContext context) { value.stop(); ROOT_LOGGER.debugf("Stopped CcmService %s", context.getController().getName()); }
@Override public void stop(final StopContext stopContext) { if (IIOPLogger.ROOT_LOGGER.isDebugEnabled()) { IIOPLogger.ROOT_LOGGER.debugf("Stopping service %s", stopContext.getController().getName().getCanonicalName()); } }
/** {@inheritDoc} */ public void stop(final StopContext context) { super.stop(context); if (SarLogger.ROOT_LOGGER.isTraceEnabled()) { SarLogger.ROOT_LOGGER.tracef("Stopping Service: %s", context.getController().getName()); } final Runnable task = new Runnable() { @Override public void run() { try { invokeLifecycleMethod(stopMethod, context); } catch (Exception e) { SarLogger.ROOT_LOGGER.error(SarLogger.ROOT_LOGGER.failedExecutingLegacyMethod("stop()"), e); } finally { context.complete(); } } }; try { executorSupplier.get().submit(task); } catch (RejectedExecutionException e) { task.run(); } finally { context.asynchronous(); } }
@Override public synchronized void stop(StopContext context) { super.stop(context); externalContextsInjectedValue.getValue().removeExternalContext(context.getController().getName()); }
@Override public void stop(StopContext context) { if (IIOPLogger.ROOT_LOGGER.isDebugEnabled()) { IIOPLogger.ROOT_LOGGER.debugf("Stopping service %s", context.getController().getName().getCanonicalName()); } }
/** {@inheritDoc} */ public void stop(final StopContext context) { super.stop(context); if (SarLogger.ROOT_LOGGER.isTraceEnabled()) { SarLogger.ROOT_LOGGER.tracef("Destroying Service: %s", context.getController().getName()); } final Runnable task = new Runnable() { @Override public void run() { try { if(managedReference != null) { managedReference.release(); } invokeLifecycleMethod(destroyMethod, context); } catch (Exception e) { SarLogger.ROOT_LOGGER.error(SarLogger.ROOT_LOGGER.failedExecutingLegacyMethod("destroy()"), e); } finally { uninjectDependencies(); context.complete(); } } }; try { executorSupplier.get().submit(task); } catch (RejectedExecutionException e) { task.run(); } finally { context.asynchronous(); } }
/** * Unbind the entry from the injected context. * * @param context The stop context */ public void stop(StopContext context) { final ServiceBasedNamingStore namingStore = namingStoreValue.getValue(); namingStore.remove(controller.getName()); ROOT_LOGGER.tracef("Unbound resource %s into naming store %s (service name %s)", name, namingStore, context.getController().getName()); }
@Override public void stop(StopContext context) { if (IIOPLogger.ROOT_LOGGER.isDebugEnabled()) { IIOPLogger.ROOT_LOGGER.debugf("Stopping service %s", context.getController().getName().getCanonicalName()); } // destroy parent POAs, letting they destroy their children POAs in the process. if (this.poa.the_parent() == null) this.poa.destroy(false, true); }
protected void stopInternal(StopContext context) { if (getLifecycleState().isAfter(BeanState.DESCRIBED)) { InstancesService.removeInstance(context.getController().getServiceContainer(), getLifecycleState(), getBean()); removeCallbacks(true); removeCallbacks(false); } executeUninstalls(); }
@Override public void stop(StopContext context) { if (IIOPLogger.ROOT_LOGGER.isDebugEnabled()) { IIOPLogger.ROOT_LOGGER.debugf("Stopping service %s", context.getController().getName().getCanonicalName()); } final SocketBinding socketBinding = iiopSocketBindingInjector.getOptionalValue(); final SocketBinding sslSocketBinding = iiopSSLSocketBindingInjector.getOptionalValue(); if (socketBinding != null) { socketBinding.getSocketBindings().getNamedRegistry().unregisterBinding(socketBinding.getName()); } if (sslSocketBinding != null) { sslSocketBinding.getSocketBindings().getNamedRegistry().unregisterBinding(sslSocketBinding.getName()); } // stop the ORB asynchronously. final ORBDestroyer destroyer = new ORBDestroyer(this.orb, context); try { executorInjector.getValue().execute(destroyer); } catch (RejectedExecutionException e) { destroyer.run(); } finally { context.asynchronous(); } }
@Override public void stop(StopContext context) { setStsType(null); context.getController().setMode(ServiceController.Mode.REMOVE); }
@Override public synchronized void stop(StopContext context) { ServiceController<?> serviceController = context.getController(); LOGGER.tracef("Stopping: %s in mode %s", serviceController.getName(), serviceController.getMode()); resolver = null; }
@Override public void stop( StopContext stopContext ) { //stop all the services which correspond to the inner stores ServiceContainer serviceContainer = stopContext.getController().getServiceContainer(); for (String storeName : nestedStoresValues.keySet()) { ServiceName serviceName = ModeShapeServiceNames.binaryStorageNestedServiceName(repositoryName, storeName); Service<?> service = serviceContainer.getService(serviceName).getService(); service.stop(stopContext); } } }
public synchronized void stop(final StopContext context) { final String deploymentName = context.getController().getName().getSimpleName(); final String managementName = deploymentUnit.getAttachment(Attachments.MANAGEMENT_NAME); ServerLogger.DEPLOYMENT_LOGGER.stoppedDeployment(managementName, deploymentName, (int) (context.getElapsedTime() / 1000000L)); deploymentUnit = null; }