Class DiscoveryService
- java.lang.Object
-
- org.jboss.as.ejb3.deployment.processors.DiscoveryService
-
- All Implemented Interfaces:
org.jboss.msc.Service
public final class DiscoveryService extends Object implements org.jboss.msc.Service
A service that provides discovery services.Note: this service is going to move elsewhere in the future.
- Author:
- David M. Lloyd, Richard Opalka
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceNameBASE_NAME
-
Constructor Summary
Constructors Constructor Description DiscoveryService(Consumer<org.wildfly.discovery.Discovery> discoveryConsumer, Supplier<RemotingProfileService> remotingProfileServiceSupplier, Supplier<AssociationService> associationServiceSupplier)
-
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
-
DiscoveryService
public DiscoveryService(Consumer<org.wildfly.discovery.Discovery> discoveryConsumer, Supplier<RemotingProfileService> remotingProfileServiceSupplier, Supplier<AssociationService> associationServiceSupplier)
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Specified by:
startin interfaceorg.jboss.msc.Service- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
stopin interfaceorg.jboss.msc.Service
-
-