public final class DeploymentFactoryManager extends Object
Modifier and Type | Method and Description |
---|---|
DeploymentFactory[] |
getDeploymentFactories()
Retrieve the lists of currently registered DeploymentFactories.
|
DeploymentManager |
getDeploymentManager(String uri,
String username,
String password)
Retrieves a DeploymentManager instance to use for deployment.
|
DeploymentManager |
getDisconnectedDeploymentManager(String uri)
Return a disconnected DeploymentManager instance.
|
static DeploymentFactoryManager |
getInstance()
Retrieve the Singleton DeploymentFactoryManager
|
void |
registerDeploymentFactory(DeploymentFactory factory)
Registers a DeploymentFactory so it will be able to handle
requests.
|
public static DeploymentFactoryManager getInstance()
public DeploymentFactory[] getDeploymentFactories()
public DeploymentManager getDeploymentManager(String uri, String username, String password) throws DeploymentManagerCreationException
uri
- The uri to checkusername
- 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 the factory appropriate to the specified URI
was unable to initialize a DeploymentManager instance
(server down, unable to authenticate, etc.).public void registerDeploymentFactory(DeploymentFactory factory)
factory
- the deployment factorypublic DeploymentManager getDisconnectedDeploymentManager(String uri) throws DeploymentManagerCreationException
uri
- identifier of the disconnected DeploymentManager to
return.DeploymentManagerCreationException
- occurs if the DeploymentManager
could not be created.Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.