public class RemoteOutboundConnectionService extends AbstractOutboundConnectionService<RemoteOutboundConnectionService>
RemoteOutboundConnectionService manages a remoting connection created out of a remote:// URI scheme.| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
REMOTE_OUTBOUND_CONNECTION_BASE_SERVICE_NAME |
connectionCreationOptions, connectionName, endpointInjectedValue, OUTBOUND_CONNECTION_BASE_SERVICE_NAME| Constructor and Description |
|---|
RemoteOutboundConnectionService(String connectionName,
org.xnio.OptionMap connectionCreationOptions,
String username) |
| Modifier and Type | Method and Description |
|---|---|
org.xnio.IoFuture<org.jboss.remoting3.Connection> |
connect() |
RemoteOutboundConnectionService |
getValue() |
void |
start(org.jboss.msc.service.StartContext context) |
getCallbackHandler, getConnectionName, stoppublic static final org.jboss.msc.service.ServiceName REMOTE_OUTBOUND_CONNECTION_BASE_SERVICE_NAME
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.service.Service<RemoteOutboundConnectionService>start in class AbstractOutboundConnectionService<RemoteOutboundConnectionService>org.jboss.msc.service.StartExceptionpublic org.xnio.IoFuture<org.jboss.remoting3.Connection> connect()
throws IOException
connect in class AbstractOutboundConnectionService<RemoteOutboundConnectionService>IOExceptionpublic RemoteOutboundConnectionService getValue() throws IllegalStateException, IllegalArgumentException
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.