org.rhq.plugins.jbossas5.deploy
Class RemoteDownloader

java.lang.Object
  extended by org.rhq.plugins.jbossas5.deploy.RemoteDownloader
All Implemented Interfaces:
PackageDownloader

public class RemoteDownloader
extends Object
implements PackageDownloader

Author:
Lukas Krejci

Constructor Summary
RemoteDownloader(ResourceContext<?> resourceContext, boolean resourceExists, ProfileServiceConnection profileServiceConnection)
           
 
Method Summary
 void destroyArchive(File archive)
           
 File prepareArchive(org.rhq.core.domain.content.PackageDetailsKey key, 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

RemoteDownloader

public RemoteDownloader(ResourceContext<?> resourceContext,
                        boolean resourceExists,
                        ProfileServiceConnection profileServiceConnection)
Parameters:
resourceContext - the resource context if the resource exists or the parent resource context if the resource doesn't exist yet
resourceExists - this tells the downloader which API to use. This has to go hand in hand with the resourceContext that is being provided.
profileServiceConnection -
Method Detail

prepareArchive

public File prepareArchive(org.rhq.core.domain.content.PackageDetailsKey key,
                           org.rhq.core.domain.resource.ResourceType resourceType)
Specified by:
prepareArchive in interface PackageDownloader

destroyArchive

public void destroyArchive(File archive)
Specified by:
destroyArchive in interface PackageDownloader


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