public class DistributedSingletonService extends AbstractDistributedSingletonService<SingletonContext>
SingletonService implementation that uses JBoss MSC 1.4.x service installation.| Constructor and Description |
|---|
DistributedSingletonService(DistributedSingletonServiceContext context,
org.jboss.msc.Service service,
Consumer<Singleton> singleton,
List<Map.Entry<org.jboss.msc.service.ServiceName[],DeferredInjector<?>>> injectors) |
| Modifier and Type | Method and Description |
|---|---|
SingletonContext |
get() |
void |
start(org.jboss.msc.service.StartContext context) |
elected, getPrimaryProvider, getProviders, isPrimary, providersChanged, start, stop, stoppublic DistributedSingletonService(DistributedSingletonServiceContext context, org.jboss.msc.Service service, Consumer<Singleton> singleton, List<Map.Entry<org.jboss.msc.service.ServiceName[],DeferredInjector<?>>> injectors)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Servicestart in class AbstractDistributedSingletonService<SingletonContext>org.jboss.msc.service.StartExceptionpublic SingletonContext get()
Copyright © 2020 JBoss by Red Hat. All rights reserved.