Class ServerDeploymentManager.Factory
java.lang.Object
org.jboss.as.controller.client.helpers.standalone.ServerDeploymentManager.Factory
- Enclosing interface:
- ServerDeploymentManager
Factory used to create an
ServerDeploymentManager instance.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
Constructor Details
-
Factory
public Factory()
-
-
Method Details
-
create
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
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
Create anServerDeploymentManagerinstance using the givenModelControllerClient.- Parameters:
client- the client- Returns:
- A domain client
-