public class EndpointService extends Object implements org.jboss.msc.service.Service<org.jboss.remoting3.Endpoint>
Modifier and Type | Class and Description |
---|---|
static class |
EndpointService.EndpointType |
Modifier and Type | Field and Description |
---|---|
protected org.jboss.remoting3.Endpoint |
endpoint |
protected String |
endpointName |
protected org.xnio.OptionMap |
optionMap |
Constructor and Description |
---|
EndpointService(String nodeName,
EndpointService.EndpointType type,
org.xnio.OptionMap optionMap) |
Modifier and Type | Method and Description |
---|---|
protected org.jboss.remoting3.Endpoint |
createEndpoint() |
org.jboss.remoting3.Endpoint |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
protected final String endpointName
protected org.jboss.remoting3.Endpoint endpoint
protected final org.xnio.OptionMap optionMap
public EndpointService(String nodeName, EndpointService.EndpointType type, org.xnio.OptionMap optionMap)
protected org.jboss.remoting3.Endpoint createEndpoint() throws IOException
IOException
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<org.jboss.remoting3.Endpoint>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<org.jboss.remoting3.Endpoint>
public org.jboss.remoting3.Endpoint getValue() throws IllegalStateException
getValue
in interface org.jboss.msc.value.Value<org.jboss.remoting3.Endpoint>
IllegalStateException
Copyright © 2023 JBoss by Red Hat. All rights reserved.