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

java.lang.Object
  extended byorg.apache.geronimo.deployment.plugin.factories.DeploymentFactoryImpl
All Implemented Interfaces:
javax.enterprise.deploy.spi.factories.DeploymentFactory

public class DeploymentFactoryImpl
extends Object
implements javax.enterprise.deploy.spi.factories.DeploymentFactory

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.

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $

Field Summary
static String URI_PREFIX
           
 
Constructor Summary
DeploymentFactoryImpl()
           
 
Method Summary
 javax.enterprise.deploy.spi.DeploymentManager getDeploymentManager(String uri, String username, String password)
           
 javax.enterprise.deploy.spi.DeploymentManager getDisconnectedDeploymentManager(String uri)
           
 String getDisplayName()
           
 String getProductVersion()
           
 boolean handlesURI(String uri)
           
static void main(String[] args)
           
 
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

DeploymentFactoryImpl

public DeploymentFactoryImpl()
Method Detail

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface javax.enterprise.deploy.spi.factories.DeploymentFactory

getProductVersion

public String getProductVersion()
Specified by:
getProductVersion in interface javax.enterprise.deploy.spi.factories.DeploymentFactory

handlesURI

public boolean handlesURI(String uri)
Specified by:
handlesURI in interface javax.enterprise.deploy.spi.factories.DeploymentFactory

getDisconnectedDeploymentManager

public javax.enterprise.deploy.spi.DeploymentManager getDisconnectedDeploymentManager(String uri)
                                                                               throws javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
Specified by:
getDisconnectedDeploymentManager in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
Throws:
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException

getDeploymentManager

public javax.enterprise.deploy.spi.DeploymentManager getDeploymentManager(String uri,
                                                                          String username,
                                                                          String password)
                                                                   throws javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException
Specified by:
getDeploymentManager in interface javax.enterprise.deploy.spi.factories.DeploymentFactory
Throws:
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException

main

public static void main(String[] args)


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