Package org.jboss.as.server.mgmt.domain
Class HostControllerClient
java.lang.Object
org.jboss.as.server.mgmt.domain.HostControllerClient
- All Implemented Interfaces:
Closeable,AutoCloseable,AbstractControllerService.ControllerInstabilityListener
public class HostControllerClient
extends Object
implements AbstractControllerService.ControllerInstabilityListener, Closeable
Client used to interact with the local host controller.
- Author:
- Emanuel Muckenhuber
-
Method Details
-
getServerName
Get the server name.- Returns:
- the server name
-
reconnect
public void reconnect(URI uri, org.wildfly.security.auth.client.AuthenticationContext authenticationContext, boolean mgmtSubsystemEndpoint) throws IOException, URISyntaxException - Throws:
IOExceptionURISyntaxException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
controllerUnstable
public void controllerUnstable()Sends the instability notification on to the managing HostController.- Specified by:
controllerUnstablein interfaceAbstractControllerService.ControllerInstabilityListener
-