public void deploy() throws DeploymentException { if( deployer != null){ deployer.deploy(this); } }
public void deploy() throws DeploymentException { if( deployer != null){ deployer.deploy(this); } }
try { Deployer deployer = CarbonUtils.getDeployer(AnalyticsEventStoreDeployer.class.getName()); deployer.deploy(new DeploymentFileData(new File(artifactPath))); artifact.setDeploymentStatus(AppDeployerConstants.DEPLOYMENT_STATUS_DEPLOYED); } catch (DeploymentException e) {
try { deployer.deploy(new DeploymentFileData(new File(dataServiceConfigPath), deployer)); artifact.setDeploymentStatus(AppDeployerConstants.DEPLOYMENT_STATUS_DEPLOYED); } catch (DeploymentException e) {