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.DelegatingModelControllerClient
A simple management client which exposes the configuration used to create the
client.
- Author:
- James R. Perkins
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.as.controller.client.helpers.DelegatingModelControllerClient
org.jboss.as.controller.client.helpers.DelegatingModelControllerClient.DelegateProviderNested classes/interfaces inherited from interface org.jboss.as.controller.client.ModelControllerClient
org.jboss.as.controller.client.ModelControllerClient.Factory -
Method Summary
Modifier and TypeMethodDescriptionstatic TestManagementClientcreate()static TestManagementClientCreates a new management client with the host and port provided.org.jboss.as.controller.client.ModelControllerClientConfigurationGets 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, executeOperationAsyncMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.as.controller.client.ModelControllerClient
executeAsync, executeAsync
-
Method Details
-
create
- Returns:
- a new management client
-
create
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
-