Package org.jdesktop.wonderland.web.checksums.modules

Examples of org.jdesktop.wonderland.web.checksums.modules.ModuleAssetDescriptor


        // put them into a single map.
        ChecksumList checksumList = new ChecksumList();
        for (DeployedAsset deployedAsset : partMap.keySet()) {
            // Create an proper AssetDeployer using the module name and module
            // part. Add to the master list.
            ModuleAssetDescriptor mad = new ModuleAssetDescriptor(
                    deployedAsset.moduleName, deployedAsset.assetType, null);
            ChecksumFactory factory = checksumManager.getChecksumFactory(mad);
            ChecksumList partList = factory.getChecksumList(mad, ChecksumAction.DO_NOT_GENERATE);
            if (partList != null) {
                logger.info("Adding found part " + deployedAsset.assetType +
View Full Code Here


        // For each module to deploy, we want to generate a checksums file. We
        // need to create a descriptor for the module and part and ask for the
        // checksums to generate it.
        ChecksumManager checksumManager = ChecksumManager.getChecksumManager();
        ModuleAssetDescriptor descriptor = new ModuleAssetDescriptor(module.getName(), type, null);
        ChecksumFactory factory = checksumManager.getChecksumFactory(descriptor);
        factory.getChecksumList(descriptor, ChecksumAction.FORCE_GENERATE);
    }
View Full Code Here

                // go through each checksum, and create a checksum
                // to add to the output. If there is no factory to load the
                // checksum for the asset, the go onto the next deployed asset
                // part
                ModuleAssetDescriptor mad = new ModuleAssetDescriptor(moduleName, asset.assetType, null);
                ChecksumManager checksumManager = ChecksumManager.getChecksumManager();
                ChecksumFactory factory = checksumManager.getChecksumFactory(mad);
                ChecksumList checksumList = factory.getChecksumList(mad, ChecksumAction.DO_NOT_GENERATE);
                if (checksumList == null) {
                    continue;
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.web.checksums.modules.ModuleAssetDescriptor

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.