org.apache.geronimo.deployment
Class Deployer
java.lang.Object
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 org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Method Summary |
List |
deploy(boolean inPlace,
File moduleFile,
File planFile)
|
List |
deploy(boolean inPlace,
File planFile,
File moduleFile,
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 org.apache.geronimo.gbean.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 |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
Deployer
public Deployer(Collection builders,
Collection stores,
Collection watchers,
org.apache.geronimo.kernel.Kernel kernel)
Deployer
public Deployer(Collection builders,
Collection stores,
Collection watchers,
org.apache.geronimo.kernel.repository.ArtifactResolver artifactResolver,
org.apache.geronimo.kernel.Kernel kernel)
deploy
public List deploy(boolean inPlace,
File moduleFile,
File planFile)
throws org.apache.geronimo.common.DeploymentException
- Throws:
org.apache.geronimo.common.DeploymentException
deploy
public List deploy(boolean inPlace,
File moduleFile,
File planFile,
String targetConfigStore)
throws org.apache.geronimo.common.DeploymentException
- Throws:
org.apache.geronimo.common.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 planFile,
File moduleFile,
File targetFile,
boolean install,
String mainClass,
String mainGBean,
String mainMethod,
String manifestConfigurations,
String classPath,
String endorsedDirs,
String extensionDirs,
String targetConfigurationStore)
throws org.apache.geronimo.common.DeploymentException
- Throws:
org.apache.geronimo.common.DeploymentException
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2006 Apache Software Foundation. All Rights Reserved.