public ServiceName getServiceName() { final ServiceController<?> serviceController = this.controller; return serviceController != null ? serviceController.getName() : null; }
@Override public void start(StartContext context) throws StartException { started = true; concurrentContext.setServiceName(context.getController().getName()); }
@Override public void start(StartContext context) throws StartException { ROOT_LOGGER.debugf("started ConnectionFactoryService %s", context.getController().getName()); }
/** * 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()); }
/** * Bind the entry into the injected context. * * @param context The start context * @throws StartException If the entity can not be bound */ public void start(StartContext context) throws StartException { final ServiceBasedNamingStore namingStore = namingStoreValue.getValue(); controller = context.getController(); namingStore.add(controller.getName()); ROOT_LOGGER.tracef("Bound resource %s into naming store %s (service name %s)", name, namingStore, controller.getName()); }
@Override public void stop(StopContext context) { ROOT_LOGGER.debugf("stopped AdminObjectService %s", context.getController().getName()); }
@Override public void start(StartContext context) throws StartException { ROOT_LOGGER.debugf("started 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 synchronized void start(StartContext context) throws StartException { super.start(context); externalContextsInjectedValue.getValue().addExternalContext(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()); } }
@Override public void start(final StartContext startContext) throws StartException { if (IIOPLogger.ROOT_LOGGER.isDebugEnabled()) { IIOPLogger.ROOT_LOGGER.debugf("Starting service %s", startContext.getController().getName().getCanonicalName()); } }
@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()); } }
public void start(final StartContext context) throws StartException { transactionSetupProvider = new ServiceTransactionSetupProvider(new TransactionSetupProviderImpl(transactionManagerInjectedValue.getValue()), 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); }
@Override public void start(StartContext context) throws StartException { value = new CachedConnectionManagerImpl(transactionIntegration.getValue()); value.setDebug(debug); value.setError(error); value.setIgnoreUnknownConnections(ignoreUnknownConnections); value.start(); ROOT_LOGGER.debugf("Started CcmService %s", context.getController().getName()); }
@Override public void start(StartContext context) throws StartException { value = new CachedConnectionManagerImpl(new NoopTransactionIntegration()); value.setDebug(debug); value.setError(error); value.setIgnoreUnknownConnections(ignoreUnknownConnections); value.start(); ROOT_LOGGER.debugf("Started CcmService %s", context.getController().getName()); }