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()
ModelControllerClientConfiguration
getHost
in interface ModelControllerClientConfiguration
public int getPort()
ModelControllerClientConfiguration
getPort
in interface ModelControllerClientConfiguration
public String getProtocol()
ModelControllerClientConfiguration
getProtocol
in interface ModelControllerClientConfiguration
public CallbackHandler getCallbackHandler()
ModelControllerClientConfiguration
getCallbackHandler
in interface ModelControllerClientConfiguration
public Map<String,String> getSaslOptions()
ModelControllerClientConfiguration
getSaslOptions
in interface ModelControllerClientConfiguration
public SSLContext getSSLContext()
ModelControllerClientConfiguration
getSSLContext
in interface ModelControllerClientConfiguration
public SecurityFactory<SSLContext> getSslContextFactory()
ModelControllerClientConfiguration
getSslContextFactory
in interface ModelControllerClientConfiguration
public int getConnectionTimeout()
ModelControllerClientConfiguration
getConnectionTimeout
in interface ModelControllerClientConfiguration
public ExecutorService getExecutor()
ModelControllerClientConfiguration
getExecutor
in interface ModelControllerClientConfiguration
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public String getClientBindAddress()
ModelControllerClientConfiguration
getClientBindAddress
in interface ModelControllerClientConfiguration
public URI getAuthenticationConfigUri()
ModelControllerClientConfiguration
getAuthenticationConfigUri
in interface ModelControllerClientConfiguration
null
to use auto
discoveryCopyright © 2021 JBoss by Red Hat. All rights reserved.