public class ResourceDownload extends Object implements ResourceDownloadMBean
MBEAN_CLASS, OBJECT_NAME
Constructor and Description |
---|
ResourceDownload(MBeanServer mBeanServer,
CatalogFramework catalogFramework,
ResourceCacheServiceMBean resourceCacheMBean) |
Modifier and Type | Method and Description |
---|---|
void |
copyToLocalSite(String sourceId,
String metacardId)
Starts an asynchronous download of a specific metacard resource to the local site.
|
void |
destroy() |
void |
init() |
public ResourceDownload(MBeanServer mBeanServer, CatalogFramework catalogFramework, ResourceCacheServiceMBean resourceCacheMBean) throws MalformedObjectNameException
MalformedObjectNameException
public void init()
public void destroy()
public void copyToLocalSite(String sourceId, String metacardId) throws MBeanException
ResourceDownloadMBean
copyToLocalSite
in interface ResourceDownloadMBean
sourceId
- ID of the federated source where the resource should be downloaded frommetacardId
- ID of the metacard that contains the resource to downloadMBeanException
This work is licensed under a Creative Commons Attribution 4.0 International License.