Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.enterprise.deploy.spi.factories
Class MockDeploymentFactory  view MockDeploymentFactory download MockDeploymentFactory.java

java.lang.Object
  extended byjavax.enterprise.deploy.spi.factories.MockDeploymentFactory
All Implemented Interfaces:
DeploymentFactory

public class MockDeploymentFactory
extends java.lang.Object
implements DeploymentFactory


Constructor Summary
MockDeploymentFactory()
           
 
Method Summary
 javax.enterprise.deploy.spi.DeploymentManager getDeploymentManager(java.lang.String uri, java.lang.String username, java.lang.String password)
          Returns a connected DeploymentManager instance.
 javax.enterprise.deploy.spi.DeploymentManager getDisconnectedDeploymentManager(java.lang.String uri)
          Returns a disconnected DeploymentManager instance.
 java.lang.String getDisplayName()
          Provide a string with the name of this vendor's DeploymentManager.
 java.lang.String getProductVersion()
          Provides a string identifying the version of this vendor's DeploymentManager.
 boolean handlesURI(java.lang.String uri)
          Tests whether this factory can create a DeploymentManager object based on the specified URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockDeploymentFactory

public MockDeploymentFactory()
Method Detail

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