public class LocalAppDeployer extends AbstractLocalDeployerSupport implements AppDeployer
AppDeployer
implementation that spins off a new JVM process per app instance.AbstractLocalDeployerSupport.Instance
COUNT_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, shutdownAndWait
public LocalAppDeployer(LocalDeployerProperties properties)
properties
- the propertiespublic String deploy(AppDeploymentRequest request)
deploy
in interface AppDeployer
public void undeploy(String id)
undeploy
in interface AppDeployer
public AppStatus status(String id)
status
in interface AppDeployer
@PreDestroy public void shutdown() throws Exception
Exception
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.