Package org.jboss.as.controller.client
Interface ModelControllerClientConfiguration
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
ClientConfigurationImpl
The configuration used to create the
ModelControllerClient.- Author:
- Emanuel Muckenhuber
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault URIDeprecated.Get the security callback handler.Get the bind address used for the controller client.intGet the connection timeout when trying to connect to the server.Get the executor service used for the controller client.getHost()Get the address of the remote host.intgetPort()Get the port of the remote host.Returns the requested protocol.Get the sasl options.Deprecated, for removal: This API element is subject to removal in a future version.Get the factory to access the SSLContext.
-
Method Details
-
getHost
String getHost()Get the address of the remote host.- Returns:
- the host name
-
getPort
int getPort()Get the port of the remote host.- Returns:
- the port number
-
getProtocol
String getProtocol()Returns the requested protocol. If this is null the remoting protocol will be used. If this is http or https then HTTP upgrade will be used. -
getConnectionTimeout
int getConnectionTimeout()Get the connection timeout when trying to connect to the server.- Returns:
- the connection timeout
-
getCallbackHandler
CallbackHandler getCallbackHandler()Get the security callback handler.- Returns:
- the callback handler
-
getSaslOptions
Get the sasl options.- Returns:
- the sasl options
-
getSSLContext
Deprecated, for removal: This API element is subject to removal in a future version.Get the SSLContext.- Returns:
- the SSLContext.
-
getSslContextFactory
SecurityFactory<SSLContext> getSslContextFactory()Get the factory to access the SSLContext.- Returns:
- the factory to access the SSLContext.
-
getExecutor
ExecutorService getExecutor()Get the executor service used for the controller client.- Returns:
- the executor service
-
getClientBindAddress
String getClientBindAddress()Get the bind address used for the controller client.- Returns:
- the bind address
-
getAuthenticationConfigUri
Deprecated.this may be removed in a future release in favor of creating anAuthenticationContextand using aContextualModelControllerClientSpecifies the URI for the authentication configuration.- Returns:
- the location to the authentication configuration file or
nullto use auto discovery
-
AuthenticationContextand using aContextualModelControllerClient