Package org.jboss.as.controller.client
Interface ModelControllerClientConfiguration
-
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
ClientConfigurationImpl
public interface ModelControllerClientConfiguration extends Closeable
The configuration used to create theModelControllerClient.- Author:
- Emanuel Muckenhuber
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classModelControllerClientConfiguration.Builder
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default URIgetAuthenticationConfigUri()Deprecated.this may be removed in a future release in favor of creating anAuthenticationContextand using aContextualModelControllerClientCallbackHandlergetCallbackHandler()Get the security callback handler.StringgetClientBindAddress()Get the bind address used for the controller client.intgetConnectionTimeout()Get the connection timeout when trying to connect to the server.ExecutorServicegetExecutor()Get the executor service used for the controller client.StringgetHost()Get the address of the remote host.intgetPort()Get the port of the remote host.StringgetProtocol()Returns the requested protocol.Map<String,String>getSaslOptions()Get the sasl options.SSLContextgetSSLContext()Deprecated.org.wildfly.security.SecurityFactory<SSLContext>getSslContextFactory()Get the factory to access the SSLContext.
-
-
-
Method Detail
-
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
-
getSSLContext
@Deprecated SSLContext getSSLContext()
Deprecated.Get the SSLContext.- Returns:
- the SSLContext.
-
getSslContextFactory
org.wildfly.security.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 default URI 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
-
-