public class DelegatingServiceContainer extends DelegatingServiceTarget implements org.jboss.msc.service.ServiceContainer
Constructor and Description |
---|
DelegatingServiceContainer(org.jboss.msc.service.ServiceContainer container,
ServiceTargetFactory factory,
BatchServiceTargetFactory batchFactory,
ServiceBuilderFactory builderFactory,
ServiceControllerFactory controllerFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addTerminateListener(org.jboss.msc.service.ServiceContainer.TerminateListener listener) |
void |
awaitStability() |
boolean |
awaitStability(long timeout,
TimeUnit unit) |
boolean |
awaitStability(long timeout,
TimeUnit unit,
Set<? super org.jboss.msc.service.ServiceController<?>> failed,
Set<? super org.jboss.msc.service.ServiceController<?>> problem) |
void |
awaitStability(Set<? super org.jboss.msc.service.ServiceController<?>> failed,
Set<? super org.jboss.msc.service.ServiceController<?>> problem) |
void |
awaitTermination() |
void |
awaitTermination(long timeout,
TimeUnit unit) |
void |
dumpServices() |
void |
dumpServices(PrintStream stream) |
String |
getName() |
org.jboss.msc.service.ServiceController<?> |
getRequiredService(org.jboss.msc.service.ServiceName serviceName) |
org.jboss.msc.service.ServiceController<?> |
getService(org.jboss.msc.service.ServiceName serviceName) |
List<org.jboss.msc.service.ServiceName> |
getServiceNames() |
boolean |
isShutdown() |
boolean |
isShutdownComplete() |
void |
shutdown() |
addDependency, addDependency, addDependency, addListener, addListener, addListener, addMonitor, addMonitors, addService, addServiceValue, batchTarget, getDependencies, getListeners, getMonitors, removeDependency, removeListener, removeMonitor, subTarget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDependency, addDependency, addDependency, addListener, addListener, addListener, addMonitor, addMonitors, addService, addServiceValue, batchTarget, getDependencies, getListeners, getMonitors, removeDependency, removeListener, removeMonitor, subTarget
public DelegatingServiceContainer(org.jboss.msc.service.ServiceContainer container, ServiceTargetFactory factory, BatchServiceTargetFactory batchFactory, ServiceBuilderFactory builderFactory, ServiceControllerFactory controllerFactory)
public org.jboss.msc.service.ServiceController<?> getRequiredService(org.jboss.msc.service.ServiceName serviceName)
getRequiredService
in interface org.jboss.msc.service.ServiceRegistry
public org.jboss.msc.service.ServiceController<?> getService(org.jboss.msc.service.ServiceName serviceName)
getService
in interface org.jboss.msc.service.ServiceRegistry
public List<org.jboss.msc.service.ServiceName> getServiceNames()
getServiceNames
in interface org.jboss.msc.service.ServiceRegistry
public void shutdown()
shutdown
in interface org.jboss.msc.service.ServiceContainer
public boolean isShutdown()
isShutdown
in interface org.jboss.msc.service.ServiceContainer
public boolean isShutdownComplete()
isShutdownComplete
in interface org.jboss.msc.service.ServiceContainer
public void addTerminateListener(org.jboss.msc.service.ServiceContainer.TerminateListener listener)
addTerminateListener
in interface org.jboss.msc.service.ServiceContainer
public void awaitTermination() throws InterruptedException
awaitTermination
in interface org.jboss.msc.service.ServiceContainer
InterruptedException
public void awaitTermination(long timeout, TimeUnit unit) throws InterruptedException
awaitTermination
in interface org.jboss.msc.service.ServiceContainer
InterruptedException
public void dumpServices()
dumpServices
in interface org.jboss.msc.service.ServiceContainer
public void dumpServices(PrintStream stream)
dumpServices
in interface org.jboss.msc.service.ServiceContainer
public String getName()
getName
in interface org.jboss.msc.service.ServiceContainer
public void awaitStability() throws InterruptedException
awaitStability
in interface org.jboss.msc.service.ServiceContainer
InterruptedException
public boolean awaitStability(long timeout, TimeUnit unit) throws InterruptedException
awaitStability
in interface org.jboss.msc.service.ServiceContainer
InterruptedException
public void awaitStability(Set<? super org.jboss.msc.service.ServiceController<?>> failed, Set<? super org.jboss.msc.service.ServiceController<?>> problem) throws InterruptedException
awaitStability
in interface org.jboss.msc.service.ServiceContainer
InterruptedException
public boolean awaitStability(long timeout, TimeUnit unit, Set<? super org.jboss.msc.service.ServiceController<?>> failed, Set<? super org.jboss.msc.service.ServiceController<?>> problem) throws InterruptedException
awaitStability
in interface org.jboss.msc.service.ServiceContainer
InterruptedException
Copyright © 2014 JBoss by Red Hat. All rights reserved.