public final class DeploymentFactoryManager extends Object
Modifier and Type | Method and Description |
---|---|
DeploymentFactory[] |
getDeploymentFactories()
Retrieve the deployment factories
|
DeploymentManager |
getDeploymentManager(String uri,
String userName,
String password)
Get a connected deployment manager
|
DeploymentManager |
getDisconnectedDeploymentManager(String uri)
Get a disconnected version of the deployment manager
|
static DeploymentFactoryManager |
getInstance()
Retrieve the instance of the deployment factory manager
|
void |
registerDeploymentFactory(DeploymentFactory factory)
Register a deployment factory
|
public static DeploymentFactoryManager getInstance()
public DeploymentFactory[] getDeploymentFactories()
public DeploymentManager getDeploymentManager(String uri, String userName, String password) throws DeploymentManagerCreationException
uri
- the uri of the deployment manageruserName
- the user namepassword
- the passwordDeploymentManagerCreationException
public void registerDeploymentFactory(DeploymentFactory factory)
factory
- the deployment factorypublic DeploymentManager getDisconnectedDeploymentManager(String uri) throws DeploymentManagerCreationException
uri
- the uri to connect toDeploymentManagerCreationException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.