Package org.jboss.as.ejb3.clustering
Class SingletonBarrierService
- java.lang.Object
-
- org.jboss.as.ejb3.clustering.SingletonBarrierService
-
- All Implemented Interfaces:
org.jboss.msc.Service
public class SingletonBarrierService extends Object implements org.jboss.msc.Service
Service that installs a singleton service on service start using a singleton policy.- Author:
- Flavia Rainone
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceNameSERVICE_NAME
-
Constructor Summary
Constructors Constructor Description SingletonBarrierService(Supplier<SingletonPolicy> policy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Constructor Detail
-
SingletonBarrierService
public SingletonBarrierService(Supplier<SingletonPolicy> policy)
-
-