org.jboss.deployment.spi.factories
Class DeploymentFactoryImpl

java.lang.Object
  extended byorg.jboss.deployment.spi.factories.DeploymentFactoryImpl
All Implemented Interfaces:
DeploymentFactory (src)

public class DeploymentFactoryImpl
extends java.lang.Object
implements DeploymentFactory (src)

The DeploymentFactory interface is a deployment driver for a J2EE plaform product. It returns a DeploymentManager object which represents a connection to a specific J2EE platform product.


Constructor Summary
DeploymentFactoryImpl()
           
 
Method Summary
 DeploymentManager (src) getDeploymentManager(java.lang.String uri, java.lang.String userName, java.lang.String password)
          Get a connected deployment manager
 DeploymentManager (src) getDisconnectedDeploymentManager(java.lang.String uri)
          Get a disconnected version of the deployment manager
 java.lang.String getDisplayName()
          The name of the JBoss DeploymentFactory.
 java.lang.String getProductVersion()
          The version of the deployment manager
 boolean handlesURI(java.lang.String uri)
          Look for jboss-deployer:....
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentFactoryImpl

public DeploymentFactoryImpl()
Method Detail

handlesURI

public boolean handlesURI(java.lang.String uri)
Look for jboss-deployer:.... URIs. Returns true if uri is has a scheme of jboss-deployer, false otherwise.

Specified by:
handlesURI in interface DeploymentFactory (src)
Parameters:
uri - the uri
Returns:
true for jboss-deployer schemes, false otherwise.

getDeploymentManager

public DeploymentManager (src)  getDeploymentManager(java.lang.String uri,
                                              java.lang.String userName,
                                              java.lang.String password)
                                       throws DeploymentManagerCreationException (src) 
Get a connected deployment manager

Specified by:
getDeploymentManager in interface DeploymentFactory (src)
Parameters:
uri - the uri of the deployment manager
userName - the user name
password - the password
Returns:
the deployment manager
Throws:
DeploymentManagerCreationException (src)

getDisconnectedDeploymentManager

public DeploymentManager (src)  getDisconnectedDeploymentManager(java.lang.String uri)
                                                   throws DeploymentManagerCreationException (src) 
Get a disconnected version of the deployment manager

Specified by:
getDisconnectedDeploymentManager in interface DeploymentFactory (src)
Parameters:
uri - the uri to connect to
Returns:
the disconnected deployment manager
Throws:
DeploymentManagerCreationException (src)

getDisplayName

public java.lang.String getDisplayName()
The name of the JBoss DeploymentFactory.

Specified by:
getDisplayName in interface DeploymentFactory (src)
Returns:
the vendor name

getProductVersion

public java.lang.String getProductVersion()
The version of the deployment manager

Specified by:
getProductVersion in interface DeploymentFactory (src)
Returns:
the version