org.rhq.plugins.jbossas5.deploy
Class ScriptDeployer

java.lang.Object
  extended by org.rhq.plugins.jbossas5.deploy.ScriptDeployer
All Implemented Interfaces:
Deployer

public class ScriptDeployer
extends Object
implements Deployer

This implementation merely copies the script file into the bin directory of the server.

Author:
Lukas Krejci

Constructor Summary
ScriptDeployer(String jbossHomeDir, SystemInfo systemInfo, PackageDownloader downloader)
           
 
Method Summary
 void deploy(CreateResourceReport createResourceReport, org.rhq.core.domain.resource.ResourceType resourceType)
          Handles the deployment process end to end and updates the createResourceReport with appropriate results.
 org.rhq.core.domain.content.transfer.DeployIndividualPackageResponse update(org.rhq.core.domain.content.transfer.ResourcePackageDetails existingPackage, org.rhq.core.domain.resource.ResourceType resourceType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptDeployer

public ScriptDeployer(String jbossHomeDir,
                      SystemInfo systemInfo,
                      PackageDownloader downloader)
Method Detail

deploy

public void deploy(CreateResourceReport createResourceReport,
                   org.rhq.core.domain.resource.ResourceType resourceType)
Description copied from interface: Deployer
Handles the deployment process end to end and updates the createResourceReport with appropriate results.

Specified by:
deploy in interface Deployer
Parameters:
createResourceReport - the report to get the deployment from
resourceType - the target resource type

update

public org.rhq.core.domain.content.transfer.DeployIndividualPackageResponse update(org.rhq.core.domain.content.transfer.ResourcePackageDetails existingPackage,
                                                                                   org.rhq.core.domain.resource.ResourceType resourceType)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.