Interface AppDeploymentHandler
- All Known Implementing Classes:
DefaultAppDeployer,RegistryResourceDeployer
public interface AppDeploymentHandler
This is the common interface for all App deployers. Different deployers deploy different
artifacts..
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeployArtifacts(CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig) Deploy the artifacts which can be deployed through this deployer.voidundeployArtifacts(CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig) Delete the artifacts which can be deleted through this deployer.
-
Method Details
-
deployArtifacts
void deployArtifacts(CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig) throws org.apache.axis2.deployment.DeploymentException Deploy the artifacts which can be deployed through this deployer.- Parameters:
carbonApp- - store info in this object after deployingaxisConfig- - AxisConfiguration of the current tenant- Throws:
org.apache.axis2.deployment.DeploymentException
-
undeployArtifacts
void undeployArtifacts(CarbonApplication carbonApp, org.apache.axis2.engine.AxisConfiguration axisConfig) throws org.apache.axis2.deployment.DeploymentException Delete the artifacts which can be deleted through this deployer.- Parameters:
carbonApp- - all information about the existing artifacts are in this instanceaxisConfig- - AxisConfiguration of the current tenant- Throws:
org.apache.axis2.deployment.DeploymentException
-