public static class ModelControllerClient.Factory extends Object
| Constructor and Description |
|---|
ModelControllerClient.Factory() |
| Modifier and Type | Method and Description |
|---|---|
static ModelControllerClient |
create(InetAddress address,
int port)
Create a client instance for a remote address and port.
|
static ModelControllerClient |
create(InetAddress address,
int port,
CallbackHandler handler)
Create a client instance for a remote address and port.
|
static ModelControllerClient |
create(InetAddress address,
int port,
CallbackHandler handler,
Map<String,String> saslOptions)
Create a client instance for a remote address and port.
|
static ModelControllerClient |
create(ModelControllerClientConfiguration configuration)
Create a client instance based on the client configuration.
|
static ModelControllerClient |
create(String hostName,
int port)
Create a client instance for a remote address and port.
|
static ModelControllerClient |
create(String hostName,
int port,
CallbackHandler handler)
Create a client instance for a remote address and port and CallbackHandler.
|
static ModelControllerClient |
create(String hostName,
int port,
CallbackHandler handler,
Map<String,String> saslOptions)
Create a client instance for a remote address and port and CallbackHandler.
|
static ModelControllerClient |
create(String hostName,
int port,
CallbackHandler handler,
SSLContext sslContext)
Create a client instance for a remote address and port and CallbackHandler.
|
public static ModelControllerClient create(InetAddress address, int port)
address - the address of the remote hostport - the portpublic static ModelControllerClient create(InetAddress address, int port, CallbackHandler handler)
address - the address of the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.public static ModelControllerClient create(InetAddress address, int port, CallbackHandler handler, Map<String,String> saslOptions)
address - the address of the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.saslOptions - Additional options to be passed to the SASL mechanism.public static ModelControllerClient create(String hostName, int port) throws UnknownHostException
hostName - the remote hostport - the portUnknownHostException - if the host cannot be foundpublic static ModelControllerClient create(String hostName, int port, CallbackHandler handler) throws UnknownHostException
hostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.UnknownHostException - if the host cannot be foundpublic static ModelControllerClient create(String hostName, int port, CallbackHandler handler, SSLContext sslContext) throws UnknownHostException
hostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.sslContext - a pre-initialised SSLContextUnknownHostException - if the host cannot be foundpublic static ModelControllerClient create(String hostName, int port, CallbackHandler handler, Map<String,String> saslOptions) throws UnknownHostException
hostName - the remote hostport - the porthandler - CallbackHandler to obtain authentication information for the call.saslOptions - Additional options to be passed to the SASL mechanism.UnknownHostException - if the host cannot be foundpublic static ModelControllerClient create(ModelControllerClientConfiguration configuration)
configuration - the controller client configurationCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.