public class LocalAppDeployer extends AbstractLocalDeployerSupport implements AppDeployer
AppDeployer implementation that spins off a new JVM process per app instance.AbstractLocalDeployerSupport.InstanceCOUNT_PROPERTY_KEY, GROUP_PROPERTY_KEY, INDEXED_PROPERTY_KEY, INSTANCE_INDEX_PROPERTY_KEY, PREFIX| Constructor and Description |
|---|
LocalAppDeployer(LocalDeployerProperties properties)
Instantiates a new local app deployer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
deploy(AppDeploymentRequest request) |
void |
shutdown() |
AppStatus |
status(String id) |
void |
undeploy(String id) |
buildProcessBuilder, getLocalDeployerProperties, isAlive, retainEnvVars, shutdownAndWaitpublic LocalAppDeployer(LocalDeployerProperties properties)
properties - the propertiespublic String deploy(AppDeploymentRequest request)
deploy in interface AppDeployerpublic void undeploy(String id)
undeploy in interface AppDeployerpublic AppStatus status(String id)
status in interface AppDeployer@PreDestroy public void shutdown() throws Exception
ExceptionCopyright © 2016 Pivotal Software, Inc.. All rights reserved.