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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidcontrollerUnstable()Sends the instability notification on to the managing HostController.StringgetServerName()Get the server name.voidreconnect(URI uri, String authKey, boolean mgmtSubsystemEndpoint)
-
-
-
Method Detail
-
getServerName
public String getServerName()
Get the server name.- Returns:
- the server name
-
reconnect
public void reconnect(URI uri, String authKey, boolean mgmtSubsystemEndpoint) throws IOException, URISyntaxException
- Throws:
IOExceptionURISyntaxException
-
close
public void close() throws IOException- 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
-
-