public interface DeploymentFactory
DeploymentFactoryManager
Modifier and Type | Method and Description |
---|---|
DeploymentManager |
getDeploymentManager(java.lang.String uri,
java.lang.String username,
java.lang.String password)
Returns a connected DeploymentManager instance.
|
DeploymentManager |
getDisconnectedDeploymentManager(java.lang.String uri)
Returns a disconnected DeploymentManager instance.
|
java.lang.String |
getDisplayName()
Provide a string with the name of this vendor's DeploymentManager.
|
java.lang.String |
getProductVersion()
Provides a string identifying the version of this vendor's
DeploymentManager.
|
boolean |
handlesURI(java.lang.String uri)
Tests whether this factory can create a DeploymentManager object based
on the specified URI.
|
boolean handlesURI(java.lang.String uri)
uri
- The uri to checkDeploymentManager getDeploymentManager(java.lang.String uri, java.lang.String username, java.lang.String password) throws DeploymentManagerCreationException
uri
- The URI that specifies the connection parametersusername
- An optional username (may be null if no
authentication is required for this platform).password
- An optional password (may be null if no
authentication is required for this platform).DeploymentManagerCreationException
- occurs when a
DeploymentManager could not be returned (server down, unable
to authenticate, etc).DeploymentManager getDisconnectedDeploymentManager(java.lang.String uri) throws DeploymentManagerCreationException
uri
- the uri of the DeploymentManager to return.DeploymentManagerCreationException
- occurs if the
DeploymentManager could not be created.java.lang.String getDisplayName()
java.lang.String getProductVersion()