Package org.jboss.as.remoting.management
Class ManagementChannelRegistryService
java.lang.Object
org.jboss.as.remoting.management.ManagementChannelRegistryService
- All Implemented Interfaces:
org.jboss.msc.Service
A basic registry for opened management channels.
- Author:
- Emanuel Muckenhuber, Richard Opalka
-
Field Summary
FieldsFields inherited from interface org.jboss.msc.Service
NULL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedManagementChannelRegistryService(Consumer<ManagementChannelRegistryService> serviceConsumer) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddService(org.jboss.msc.service.ServiceTarget serviceTarget, org.jboss.msc.service.ServiceName endpointName) voidregister(org.jboss.remoting3.Registration registration) voidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context)
-
Field Details
-
SERVICE_NAME
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
-
-
Constructor Details
-
ManagementChannelRegistryService
protected ManagementChannelRegistryService(Consumer<ManagementChannelRegistryService> serviceConsumer)
-
-
Method Details
-
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
-
register
public void register(org.jboss.remoting3.Registration registration)
-