javax.enterprise.deploy.spi.factories
public interface DeploymentFactory
Method Summary | |
---|---|
DeploymentManager | getDeploymentManager(String uri, String username, String password)
Returns a connected DeploymentManager instance.
|
DeploymentManager | getDisconnectedDeploymentManager(String uri)
Returns a disconnected DeploymentManager instance.
|
String | getDisplayName()
Provide a string with the name of this vendor's DeploymentManager.
|
String | getProductVersion()
Provides a string identifying the version of this vendor's
DeploymentManager.
|
boolean | handlesURI(String uri)
Tests whether this factory can create a DeploymentManager object based
on the specified URI. |
Parameters: uri The URI that specifies the connection parameters username 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).
Returns: A ready DeploymentManager instance.
Throws: DeploymentManagerCreationException occurs when a DeploymentManager could not be returned (server down, unable to authenticate, etc).
Parameters: uri the uri of the DeploymentManager to return.
Returns: A DeploymentManager disconnected instance.
Throws: DeploymentManagerCreationException occurs if the DeploymentManager could not be created.
Returns: the name of the vendor's DeploymentManager.
Returns: the name of the vendor's DeploymentManager.
Parameters: uri The uri to check
Returns: true if the factory can handle the uri.