Class ServerDeploymentManager.Factory
- java.lang.Object
-
- org.jboss.as.controller.client.helpers.standalone.ServerDeploymentManager.Factory
-
- Enclosing interface:
- ServerDeploymentManager
public static class ServerDeploymentManager.Factory extends Object
Factory used to create anServerDeploymentManagerinstance.
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerDeploymentManagercreate(String protocol, InetAddress address, int port)Create anServerDeploymentManagerinstance for a remote address and port.static ServerDeploymentManagercreate(String protocol, InetAddress address, int port, CallbackHandler handler)Create anServerDeploymentManagerinstance for a remote address and port.static ServerDeploymentManagercreate(InetAddress address, int port)Create anServerDeploymentManagerinstance for a remote address and port.static ServerDeploymentManagercreate(InetAddress address, int port, CallbackHandler handler)Create anServerDeploymentManagerinstance for a remote address and port.static ServerDeploymentManagercreate(ModelControllerClient client)Create anServerDeploymentManagerinstance using the givenModelControllerClient.
-
-
-
Method Detail
-
create
public static ServerDeploymentManager create(InetAddress address, int port)
Create anServerDeploymentManagerinstance for a remote address and port. This creates aModelControllerClientwhich has to be closed using theCloseable.close()method.- Parameters:
address- The remote address to connect toport- The remote port- Returns:
- A domain client
-
create
public static ServerDeploymentManager create(String protocol, InetAddress address, int port)
Create anServerDeploymentManagerinstance for a remote address and port. This creates aModelControllerClientwhich has to be closed using theCloseable.close()method.- Parameters:
protocol- The protocol to useaddress- The remote address to connect toport- The remote port- Returns:
- A domain client
-
create
public static ServerDeploymentManager create(InetAddress address, int port, CallbackHandler handler)
Create anServerDeploymentManagerinstance for a remote address and port. This creates aModelControllerClientwhich has to be closed using theCloseable.close()method.- Parameters:
address- The remote address to connect toport- The remote porthandler- The CallbackHandler for authentication- Returns:
- A domain client
-
create
public static ServerDeploymentManager create(String protocol, InetAddress address, int port, CallbackHandler handler)
Create anServerDeploymentManagerinstance for a remote address and port. This creates aModelControllerClientwhich has to be closed using theCloseable.close()method.- Parameters:
protocol- The protocol to useaddress- The remote address to connect toport- The remote porthandler- The CallbackHandler for authentication- Returns:
- A domain client
-
create
public static ServerDeploymentManager create(ModelControllerClient client)
Create anServerDeploymentManagerinstance using the givenModelControllerClient.- Parameters:
client- the client- Returns:
- A domain client
-
-