|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.deployment.Deployer
public class Deployer
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)
|
void |
doFail()
Fails the GBean. |
void |
doStart()
Starts the GBean. |
void |
doStop()
Stops the target. |
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 |
---|
public static final GBeanInfo GBEAN_INFO
Constructor Detail |
---|
public Deployer(String remoteDeployAddress, Collection builders, Collection stores, Collection watchers, Kernel kernel)
public Deployer(String remoteDeployAddress, Collection builders, Collection stores, Collection watchers, ArtifactResolver artifactResolver, Kernel kernel)
Method Detail |
---|
public List deploy(boolean inPlace, File moduleFile, File planFile) throws DeploymentException
DeploymentException
public List deploy(boolean inPlace, File moduleFile, File planFile, String targetConfigStore) throws DeploymentException
DeploymentException
public String getRemoteDeployUploadURL()
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
DeploymentException
public void doStart() throws Exception
GBeanLifecycle
doStart
in interface GBeanLifecycle
Exception
- if the target failed to start; this will cause a transition to the failed statepublic void doFail()
GBeanLifecycle
doFail
in interface GBeanLifecycle
public void doStop() throws Exception
GBeanLifecycle
doStop
in interface GBeanLifecycle
Exception
- if the target failed to stop; this will cause a transition to the failed statepublic static GBeanInfo getGBeanInfo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |