public class MicroservicesDeployer extends Object implements org.wso2.carbon.deployment.engine.Deployer
| Constructor and Description |
|---|
MicroservicesDeployer() |
| Modifier and Type | Method and Description |
|---|---|
Object |
deploy(org.wso2.carbon.deployment.engine.Artifact artifact)
Deploy and artifact in the netty-http service.
|
org.wso2.carbon.deployment.engine.ArtifactType |
getArtifactType() |
URL |
getLocation() |
void |
init() |
void |
undeploy(Object key)
Undeploy the artifact with the key from the netty-http service.
|
Object |
update(org.wso2.carbon.deployment.engine.Artifact artifact)
Update the artifact from the netty-http service.
|
public void init()
init in interface org.wso2.carbon.deployment.engine.Deployerpublic Object deploy(org.wso2.carbon.deployment.engine.Artifact artifact) throws org.wso2.carbon.deployment.engine.exception.CarbonDeploymentException
deploy in interface org.wso2.carbon.deployment.engine.Deployerartifact - the artifact to be deployedorg.wso2.carbon.deployment.engine.exception.CarbonDeploymentException - If deployment failspublic void undeploy(Object key) throws org.wso2.carbon.deployment.engine.exception.CarbonDeploymentException
undeploy in interface org.wso2.carbon.deployment.engine.Deployerkey - Key to identify the artifactorg.wso2.carbon.deployment.engine.exception.CarbonDeploymentException - If an error occurs while undeployingpublic Object update(org.wso2.carbon.deployment.engine.Artifact artifact) throws org.wso2.carbon.deployment.engine.exception.CarbonDeploymentException
update in interface org.wso2.carbon.deployment.engine.Deployerartifact - the artifact to be deployedorg.wso2.carbon.deployment.engine.exception.CarbonDeploymentException - If update failspublic URL getLocation()
getLocation in interface org.wso2.carbon.deployment.engine.Deployerpublic org.wso2.carbon.deployment.engine.ArtifactType getArtifactType()
getArtifactType in interface org.wso2.carbon.deployment.engine.DeployerCopyright © 2017 WSO2. All rights reserved.