|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeploymentFactory
Each application server vendor must provide an implementation of this class in order for the J2EE Deployment API to work with their product. The class implementing this interface should have a public no-argument constructor, and it should be stateless (two instances of the class should always behave the same). It is suggested but not required that the class have a static initializer that registers an instance of the class with the DeploymentFactoryManager class. A connected or disconnected DeploymentManager can be requested. A DeploymentManager that runs connected to the platform can provide access to J2EE resources. A DeploymentManager that runs disconnected only provides module deployment configuration support.
Method Summary | |
---|---|
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 |
String |
getDisplayName()
The vendor of the deployment manager |
String |
getProductVersion()
The version of the deployment manager |
boolean |
handlesURI(String uri)
Tests whether the factory can create a manager for the URI |
Method Detail |
---|
boolean handlesURI(String uri)
uri
- the uri
DeploymentManager getDeploymentManager(String uri, String userName, String password) throws DeploymentManagerCreationException
uri
- the uri of the deployment manageruserName
- the user namepassword
- the password
DeploymentManagerCreationException
DeploymentManager getDisconnectedDeploymentManager(String uri) throws DeploymentManagerCreationException
uri
- the uri to connect to
DeploymentManagerCreationException
String getDisplayName()
String getProductVersion()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |