Package eu.admire.ogsadai.resource.datacache

Examples of eu.admire.ogsadai.resource.datacache.FileDataCacheResource


            resourceID =  new ResourceID((String)iterationData[0]);
        }
        // Create data cache resource from template.
        try
        {
            FileDataCacheResource dataCache =
                (FileDataCacheResource)mResourceFactory.createDataResource(
                    DATA_CACHE_RESOURCE_TEMPLATE);
            DataCacheResourceState state = dataCache.getDataCacheResourceState();
            state.getDataResourceState().setResourceID(resourceID);
            // Add the resource group to the OGSA-DAI resource manager
            // via the resource factory utility.
            mResourceFactory.addResource(resourceID, dataCache);
            // Output the resource group ID.
            mOutput.write(dataCache.getResourceID().toString());
        }
        catch (PipeClosedException e)
        {
            // No more input wanted
            iterativeStageComplete();
View Full Code Here

TOP

Related Classes of eu.admire.ogsadai.resource.datacache.FileDataCacheResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.