java.lang.Object
javax.enterprise.deploy.spi.factories.MockDeploymentFactory
- All Implemented Interfaces:
- DeploymentFactory
- public class MockDeploymentFactory
- extends java.lang.Object
- implements DeploymentFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockDeploymentFactory
public MockDeploymentFactory()
handlesURI
public boolean handlesURI(java.lang.String uri)
- Description copied from interface:
DeploymentFactory
- Tests whether this factory can create a DeploymentManager object based
on the specified URI. This does not indicate whether such an attempt
will be successful, only whether the factory can handle the uri.
- Specified by:
handlesURI in interface DeploymentFactory
getDeploymentManager
public javax.enterprise.deploy.spi.DeploymentManager getDeploymentManager(java.lang.String uri,
java.lang.String username,
java.lang.String password)
throws javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
- Description copied from interface:
DeploymentFactory
- Returns a connected DeploymentManager instance.
- Specified by:
getDeploymentManager in interface DeploymentFactory
getDisconnectedDeploymentManager
public javax.enterprise.deploy.spi.DeploymentManager getDisconnectedDeploymentManager(java.lang.String uri)
throws javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
- Description copied from interface:
DeploymentFactory
- Returns a disconnected DeploymentManager instance.
- Specified by:
getDisconnectedDeploymentManager in interface DeploymentFactory
getDisplayName
public java.lang.String getDisplayName()
- Description copied from interface:
DeploymentFactory
- Provide a string with the name of this vendor's DeploymentManager.
- Specified by:
getDisplayName in interface DeploymentFactory
getProductVersion
public java.lang.String getProductVersion()
- Description copied from interface:
DeploymentFactory
- Provides a string identifying the version of this vendor's
DeploymentManager.
- Specified by:
getProductVersion in interface DeploymentFactory