Package org.jboss.as.remoting.management
Class ManagementChannelRegistryService
- java.lang.Object
-
- org.jboss.as.remoting.management.ManagementChannelRegistryService
-
- All Implemented Interfaces:
org.jboss.msc.Service
public final class ManagementChannelRegistryService extends Object implements org.jboss.msc.Service
A basic registry for opened management channels.- Author:
- Emanuel Muckenhuber, Richard Opalka
-
-
Field Summary
Fields Modifier and Type Field Description static org.jboss.msc.service.ServiceNameSERVICE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedManagementChannelRegistryService(Consumer<ManagementChannelRegistryService> serviceConsumer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidaddService(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName endpointName)ManagementRequestTrackergetTrackerService()voidregister(org.jboss.remoting3.Registration registration)voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context)
-
-
-
Constructor Detail
-
ManagementChannelRegistryService
protected ManagementChannelRegistryService(Consumer<ManagementChannelRegistryService> serviceConsumer)
-
-
Method Detail
-
addService
public static void addService(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName endpointName)
-
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
-
getTrackerService
public ManagementRequestTracker getTrackerService()
-
register
public void register(org.jboss.remoting3.Registration registration)
-
-