Package org.jboss.resteasy.utils
Class TestManagementClient
- java.lang.Object
-
- org.jboss.as.controller.client.helpers.DelegatingModelControllerClient
-
- org.jboss.resteasy.utils.TestManagementClient
-
- All Implemented Interfaces:
Closeable,AutoCloseable,org.jboss.as.controller.client.ModelControllerClient
public class TestManagementClient extends org.jboss.as.controller.client.helpers.DelegatingModelControllerClientA simple management client which exposes the configuration used to create the client.- Author:
- James R. Perkins
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TestManagementClientcreate()static TestManagementClientcreate(String hostName, int port)Creates a new management client with the host and port provided.org.jboss.as.controller.client.ModelControllerClientConfigurationgetConfiguration()Gets the configuration used to create the client.-
Methods inherited from class org.jboss.as.controller.client.helpers.DelegatingModelControllerClient
close, execute, execute, execute, execute, executeAsync, executeAsync, executeOperation, executeOperationAsync
-
-
-
-
Method Detail
-
create
public static TestManagementClient create()
- Returns:
- a new management client
-
create
public static TestManagementClient create(String hostName, int port)
Creates a new management client with the host and port provided.- Parameters:
hostName- the host nameport- the port- Returns:
- the new management client
-
getConfiguration
public org.jboss.as.controller.client.ModelControllerClientConfiguration getConfiguration()
Gets the configuration used to create the client.- Returns:
- the configuration
-
-