org.apache.geronimo.deployment.plugin.factories
Class BaseDeploymentFactory

java.lang.Object
  extended by org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory
All Implemented Interfaces:
DeploymentFactory
Direct Known Subclasses:
DeploymentFactoryImpl, DeploymentFactoryWithKernel

public class BaseDeploymentFactory
extends Object
implements DeploymentFactory

Base implementation of JSR88 DeploymentFactory. This will create a DeploymentManager using a local Geronimo kernel to contain the GBeans that are responsible for deploying each module type.


Field Summary
static String URI_PREFIX
           
 
Constructor Summary
BaseDeploymentFactory()
           
 
Method Summary
 DeploymentManager getDeploymentManager(String uri, String username, String password)
           
 DeploymentManager getDisconnectedDeploymentManager(String uri)
           
 String getDisplayName()
           
protected  Collection<ModuleConfigurer> getModuleConfigurers()
           
 String getProductVersion()
           
protected  RemoteDeploymentManager getRemoteDeploymentManager()
           
 boolean handlesURI(String uri)
           
protected  DeploymentManager newRemoteDeploymentManager(String username, String password, org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.ConnectParams params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URI_PREFIX

public static final String URI_PREFIX
See Also:
Constant Field Values
Constructor Detail

BaseDeploymentFactory

public BaseDeploymentFactory()
Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface DeploymentFactory

getProductVersion

public String getProductVersion()
Specified by:
getProductVersion in interface DeploymentFactory

handlesURI

public boolean handlesURI(String uri)
Specified by:
handlesURI in interface DeploymentFactory

getDisconnectedDeploymentManager

public DeploymentManager getDisconnectedDeploymentManager(String uri)
                                                   throws DeploymentManagerCreationException
Specified by:
getDisconnectedDeploymentManager in interface DeploymentFactory
Throws:
DeploymentManagerCreationException

getDeploymentManager

public DeploymentManager getDeploymentManager(String uri,
                                              String username,
                                              String password)
                                       throws DeploymentManagerCreationException
Specified by:
getDeploymentManager in interface DeploymentFactory
Throws:
DeploymentManagerCreationException

getModuleConfigurers

protected Collection<ModuleConfigurer> getModuleConfigurers()
                                                     throws DeploymentManagerCreationException
Throws:
DeploymentManagerCreationException

newRemoteDeploymentManager

protected DeploymentManager newRemoteDeploymentManager(String username,
                                                       String password,
                                                       org.apache.geronimo.deployment.plugin.factories.BaseDeploymentFactory.ConnectParams params)
                                                throws DeploymentManagerCreationException,
                                                       AuthenticationFailedException
Throws:
DeploymentManagerCreationException
AuthenticationFailedException

getRemoteDeploymentManager

protected RemoteDeploymentManager getRemoteDeploymentManager()
                                                      throws DeploymentManagerCreationException
Throws:
DeploymentManagerCreationException


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.