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, subTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDependency, addDependency, addDependency, addListener, addListener, addListener, addMonitor, addMonitors, addService, addServiceValue, batchTarget, getDependencies, getListeners, getMonitors, removeDependency, removeListener, removeMonitor, subTargetpublic 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.ServiceRegistrypublic org.jboss.msc.service.ServiceController<?> getService(org.jboss.msc.service.ServiceName serviceName)
getService in interface org.jboss.msc.service.ServiceRegistrypublic List<org.jboss.msc.service.ServiceName> getServiceNames()
getServiceNames in interface org.jboss.msc.service.ServiceRegistrypublic void shutdown()
shutdown in interface org.jboss.msc.service.ServiceContainerpublic boolean isShutdown()
isShutdown in interface org.jboss.msc.service.ServiceContainerpublic boolean isShutdownComplete()
isShutdownComplete in interface org.jboss.msc.service.ServiceContainerpublic void addTerminateListener(org.jboss.msc.service.ServiceContainer.TerminateListener listener)
addTerminateListener in interface org.jboss.msc.service.ServiceContainerpublic void awaitTermination()
throws InterruptedException
awaitTermination in interface org.jboss.msc.service.ServiceContainerInterruptedExceptionpublic void awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
awaitTermination in interface org.jboss.msc.service.ServiceContainerInterruptedExceptionpublic void dumpServices()
dumpServices in interface org.jboss.msc.service.ServiceContainerpublic void dumpServices(PrintStream stream)
dumpServices in interface org.jboss.msc.service.ServiceContainerpublic String getName()
getName in interface org.jboss.msc.service.ServiceContainerpublic void awaitStability()
throws InterruptedException
awaitStability in interface org.jboss.msc.service.ServiceContainerInterruptedExceptionpublic boolean awaitStability(long timeout,
TimeUnit unit)
throws InterruptedException
awaitStability in interface org.jboss.msc.service.ServiceContainerInterruptedExceptionpublic 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.ServiceContainerInterruptedExceptionpublic 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.ServiceContainerInterruptedExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.