public class ClientConfigurationImpl extends Object implements ModelControllerClientConfiguration
ModelControllerClientConfiguration.Builder, ModelControllerClientConfiguration.Factory| Constructor and Description |
|---|
ClientConfigurationImpl(String address,
int port,
CallbackHandler handler,
Map<String,String> saslOptions,
SecurityFactory<SSLContext> sslContextFactory,
ExecutorService executorService,
boolean shutdownExecutor,
int connectionTimeout,
String protocol,
String clientBindAddress,
URI authConfigUri) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
URI |
getAuthenticationConfigUri()
Specifies the URI for the authentication configuration.
|
CallbackHandler |
getCallbackHandler()
Get the security callback handler.
|
String |
getClientBindAddress()
Get the bind address used for the controller client.
|
int |
getConnectionTimeout()
Get the connection timeout when trying to connect to the server.
|
ExecutorService |
getExecutor()
Get the executor service used for the controller client.
|
String |
getHost()
Get the address of the remote host.
|
int |
getPort()
Get the port of the remote host.
|
String |
getProtocol()
Returns the requested protocol.
|
Map<String,String> |
getSaslOptions()
Get the sasl options.
|
SSLContext |
getSSLContext()
Get the SSLContext.
|
SecurityFactory<SSLContext> |
getSslContextFactory()
Get the factory to access the SSLContext.
|
public ClientConfigurationImpl(String address, int port, CallbackHandler handler, Map<String,String> saslOptions, SecurityFactory<SSLContext> sslContextFactory, ExecutorService executorService, boolean shutdownExecutor, int connectionTimeout, String protocol, String clientBindAddress, URI authConfigUri)
public String getHost()
ModelControllerClientConfigurationgetHost in interface ModelControllerClientConfigurationpublic int getPort()
ModelControllerClientConfigurationgetPort in interface ModelControllerClientConfigurationpublic String getProtocol()
ModelControllerClientConfigurationgetProtocol in interface ModelControllerClientConfigurationpublic CallbackHandler getCallbackHandler()
ModelControllerClientConfigurationgetCallbackHandler in interface ModelControllerClientConfigurationpublic Map<String,String> getSaslOptions()
ModelControllerClientConfigurationgetSaslOptions in interface ModelControllerClientConfigurationpublic SSLContext getSSLContext()
ModelControllerClientConfigurationgetSSLContext in interface ModelControllerClientConfigurationpublic SecurityFactory<SSLContext> getSslContextFactory()
ModelControllerClientConfigurationgetSslContextFactory in interface ModelControllerClientConfigurationpublic int getConnectionTimeout()
ModelControllerClientConfigurationgetConnectionTimeout in interface ModelControllerClientConfigurationpublic ExecutorService getExecutor()
ModelControllerClientConfigurationgetExecutor in interface ModelControllerClientConfigurationpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic String getClientBindAddress()
ModelControllerClientConfigurationgetClientBindAddress in interface ModelControllerClientConfigurationpublic URI getAuthenticationConfigUri()
ModelControllerClientConfigurationgetAuthenticationConfigUri in interface ModelControllerClientConfigurationnull to use auto
discoveryCopyright © 2018 JBoss by Red Hat. All rights reserved.