public class DeploymentFactoryImpl extends Object implements javax.enterprise.deploy.spi.factories.DeploymentFactory
Constructor and Description |
---|
DeploymentFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
javax.enterprise.deploy.spi.DeploymentManager |
getDeploymentManager(String uri,
String userName,
String password)
Get a connected deployment manager
|
javax.enterprise.deploy.spi.DeploymentManager |
getDisconnectedDeploymentManager(String uri)
Get a disconnected version of the deployment manager
|
String |
getDisplayName()
The name of the JBoss DeploymentFactory.
|
String |
getProductVersion()
The version of the deployment manager
|
boolean |
handlesURI(String uri)
Tests whether the factory can create a manager for the URI
|
static void |
register()
Register this deployment factory with the manager
|
public static void register()
public boolean handlesURI(String uri)
handlesURI
in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
public javax.enterprise.deploy.spi.DeploymentManager getDeploymentManager(String uri, String userName, String password) throws javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
getDeploymentManager
in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
uri
- the uri of the deployment manageruserName
- the user namepassword
- the passwordjavax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
public javax.enterprise.deploy.spi.DeploymentManager getDisconnectedDeploymentManager(String uri) throws javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
getDisconnectedDeploymentManager
in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
uri
- the uri to connect tojavax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
public String getDisplayName()
getDisplayName
in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
public String getProductVersion()
getProductVersion
in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.