org.apache.geronimo.deployment
Class Deployer

java.lang.Object
  extended by org.apache.geronimo.deployment.Deployer

public class Deployer
extends Object

GBean that knows how to deploy modules (by consulting available module builders)


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
Deployer(String remoteDeployAddress, Collection builders, Collection stores, Collection watchers, ArtifactResolver artifactResolver, Kernel kernel)
           
Deployer(String remoteDeployAddress, Collection builders, Collection stores, Collection watchers, Kernel kernel)
           
 
Method Summary
 List deploy(boolean inPlace, File moduleFile, File planFile)
           
 List deploy(boolean inPlace, File moduleFile, File planFile, File targetFile, boolean install, String mainClass, String mainGBean, String mainMethod, String manifestConfigurations, String classPath, String endorsedDirs, String extensionDirs, String targetConfigurationStore)
           
 List deploy(boolean inPlace, File moduleFile, File planFile, String targetConfigStore)
           
static GBeanInfo getGBeanInfo()
           
 String getRemoteDeployUploadURL()
          Gets a URL that a remote deploy client can use to upload files to the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

Deployer

public Deployer(String remoteDeployAddress,
                Collection builders,
                Collection stores,
                Collection watchers,
                Kernel kernel)

Deployer

public Deployer(String remoteDeployAddress,
                Collection builders,
                Collection stores,
                Collection watchers,
                ArtifactResolver artifactResolver,
                Kernel kernel)
Method Detail

deploy

public List deploy(boolean inPlace,
                   File moduleFile,
                   File planFile)
            throws DeploymentException
Throws:
DeploymentException

deploy

public List deploy(boolean inPlace,
                   File moduleFile,
                   File planFile,
                   String targetConfigStore)
            throws DeploymentException
Throws:
DeploymentException

getRemoteDeployUploadURL

public String getRemoteDeployUploadURL()
Gets a URL that a remote deploy client can use to upload files to the server. Looks up a remote deploy web application by searching for a particular GBean and figuring out a reference to the web application based on that. Then constructs a URL pointing to that web application based on available connectors for the web container and the context root for the web application.

Returns:
The URL that clients should use for deployment file uploads.

deploy

public List deploy(boolean inPlace,
                   File moduleFile,
                   File planFile,
                   File targetFile,
                   boolean install,
                   String mainClass,
                   String mainGBean,
                   String mainMethod,
                   String manifestConfigurations,
                   String classPath,
                   String endorsedDirs,
                   String extensionDirs,
                   String targetConfigurationStore)
            throws DeploymentException
Throws:
DeploymentException

getGBeanInfo

public static GBeanInfo getGBeanInfo()


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