public static class ServerDeploymentManager.Factory extends Object
ServerDeploymentManager
instance.Constructor and Description |
---|
ServerDeploymentManager.Factory() |
Modifier and Type | Method and Description |
---|---|
static ServerDeploymentManager |
create(InetAddress address,
int port)
Create an
ServerDeploymentManager instance for a remote address and port. |
static ServerDeploymentManager |
create(InetAddress address,
int port,
CallbackHandler handler)
Create an
ServerDeploymentManager instance for a remote address and port. |
static ServerDeploymentManager |
create(ModelControllerClient client)
Create an
ServerDeploymentManager instance using the given ModelControllerClient . |
public static ServerDeploymentManager create(InetAddress address, int port)
ServerDeploymentManager
instance for a remote address and port.
This creates a ModelControllerClient
which has to be closed using the
Closeable.close()
method.address
- The remote address to connect toport
- The remote portpublic static ServerDeploymentManager create(InetAddress address, int port, CallbackHandler handler)
ServerDeploymentManager
instance for a remote address and port.
This creates a ModelControllerClient
which has to be closed using the
Closeable.close()
method.address
- The remote address to connect toport
- The remote porthandler
- The CallbackHandler for authenticationpublic static ServerDeploymentManager create(ModelControllerClient client)
ServerDeploymentManager
instance using the given ModelControllerClient
.client
- the clientCopyright © 2018 JBoss by Red Hat. All rights reserved.