public class GenericOutboundConnectionService extends AbstractOutboundConnectionService<GenericOutboundConnectionService>
GenericOutboundConnectionService
manages a remote outbound connection which is configured via
a URI
. Unlike the remote outbound connection and the local outbound connection where we know the protocol
of the connection URI, in the case of generic outbound connection, the protocol can be anything (but needs an appropriate
ConnectionProviderFactory
)Modifier and Type | Field and Description |
---|---|
static org.jboss.msc.service.ServiceName |
GENERIC_OUTBOUND_CONNECTION_BASE_SERVICE_NAME |
connectionCreationOptions, connectionName, endpointInjectedValue, OUTBOUND_CONNECTION_BASE_SERVICE_NAME
Constructor and Description |
---|
GenericOutboundConnectionService(String connectionName,
URI destination,
org.xnio.OptionMap connectionCreationOptions) |
Modifier and Type | Method and Description |
---|---|
org.xnio.IoFuture<org.jboss.remoting3.Connection> |
connect() |
String |
getProtocol() |
GenericOutboundConnectionService |
getValue() |
getCallbackHandler, getConnectionName, start, stop
public static final org.jboss.msc.service.ServiceName GENERIC_OUTBOUND_CONNECTION_BASE_SERVICE_NAME
public org.xnio.IoFuture<org.jboss.remoting3.Connection> connect() throws IOException
connect
in class AbstractOutboundConnectionService<GenericOutboundConnectionService>
IOException
public String getProtocol()
getProtocol
in class AbstractOutboundConnectionService<GenericOutboundConnectionService>
public GenericOutboundConnectionService getValue() throws IllegalStateException, IllegalArgumentException
Copyright © 2023 JBoss by Red Hat. All rights reserved.