|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.deployapi.SunDeploymentFactory
public class SunDeploymentFactory
Concrete implementation of the JSR 88 DeploymentFactory interface.
| Constructor Summary | |
|---|---|
SunDeploymentFactory()
Creates a new instance of SunDeploymentFactory |
|
| Method Summary | |
|---|---|
DeploymentManager |
getDeploymentManager(String uri,
String username,
String password)
Return a connected DeploymentManager instance. |
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SunDeploymentFactory()
| Method Detail |
|---|
public DeploymentManager getDeploymentManager(String uri,
String username,
String password)
throws DeploymentManagerCreationException
getDeploymentManager in interface 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).
DeploymentManagerCreationException - occurs when a
DeploymentManager could not be returned (server down,
unable to authenticate, etc).
public DeploymentManager getDisconnectedDeploymentManager(String uri)
throws DeploymentManagerCreationException
getDisconnectedDeploymentManager in interface DeploymentFactoryuri - the uri of the DeploymentManager to return.
DeploymentManagerCreationException - occurs if the
DeploymentManager could not be created.public String getDisplayName()
getDisplayName in interface DeploymentFactorypublic String getProductVersion()
getProductVersion in interface DeploymentFactorypublic boolean handlesURI(String uri)
handlesURI in interface DeploymentFactoryuri - The uri to check
public ServerConnectionIdentifier parseURIForHostInfo(String uri)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||