org.rhq.plugins.jbossas5.deploy
Class RemoteDownloader
java.lang.Object
org.rhq.plugins.jbossas5.deploy.RemoteDownloader
- All Implemented Interfaces:
- PackageDownloader
public class RemoteDownloader
- extends Object
- implements PackageDownloader
- Author:
- Lukas Krejci
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 yetresourceExists - this tells the downloader which API to use. This has to go
hand in hand with the resourceContext that is being provided.profileServiceConnection -
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.