public class SunDeploymentFactory extends Object implements javax.enterprise.deploy.spi.factories.DeploymentFactory
| Modifier and Type | Field and Description |
|---|---|
static Logger |
deplLogger |
| Constructor and Description |
|---|
SunDeploymentFactory()
Creates a new instance of SunDeploymentFactory
|
| Modifier and Type | Method and Description |
|---|---|
javax.enterprise.deploy.spi.DeploymentManager |
getDeploymentManager(String uri,
String username,
String password)
Return a connected DeploymentManager instance.
|
javax.enterprise.deploy.spi.DeploymentManager |
getDisconnectedDeploymentManager(String uri)
Return a disconnected DeploymentManager instance.
|
String |
getDisplayName()
Provide a string with the name of this vendor's DeploymentManager.
|
String |
getProductVersion()
Provide a string identifying version of this vendor's
DeploymentManager.
|
boolean |
handlesURI(String uri)
Tests whether this factory can create a DeploymentManager
object based on the specificed URI.
|
ServerConnectionIdentifier |
parseURIForHostInfo(String uri) |
public static final Logger deplLogger
public SunDeploymentFactory()
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.DeploymentFactoryuri - 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).javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException - occurs when a
DeploymentManager could not be returned (server down,
unable to authenticate, etc).public javax.enterprise.deploy.spi.DeploymentManager getDisconnectedDeploymentManager(String uri) throws javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
getDisconnectedDeploymentManager in interface javax.enterprise.deploy.spi.factories.DeploymentFactoryuri - the uri of the DeploymentManager to return.javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException - occurs if the
DeploymentManager could not be created.public String getDisplayName()
getDisplayName in interface javax.enterprise.deploy.spi.factories.DeploymentFactorypublic String getProductVersion()
getProductVersion in interface javax.enterprise.deploy.spi.factories.DeploymentFactorypublic boolean handlesURI(String uri)
handlesURI in interface javax.enterprise.deploy.spi.factories.DeploymentFactoryuri - The uri to checkpublic ServerConnectionIdentifier parseURIForHostInfo(String uri) throws Exception
ExceptionCopyright © 2017–2019 Eclipse Foundation. All rights reserved.