Package com.volantis.mcs.runtime.policies.cache

Examples of com.volantis.mcs.runtime.policies.cache.CacheControlConstraintsMap


        if (generatedResourcesConfiguration != null) {
            generatedResourceBaseDir =
                    generatedResourcesConfiguration.getBaseDir();
        }
        policySource = parent.getPolicySource();
        CacheControlConstraintsMap cacheControlConstraintsMap =
                pageContext.getVolantisBean().getProjectManager().getDefaultProject().getCacheControlConstraintsMap();
        DynamicProjectKey key = new DynamicProjectKey(policySource,
                assetsConfiguration, generatedResourceBaseDir, cacheControlConstraintsMap);

        project = pageContext.getVolantisBean().getDynamicProject(key);
View Full Code Here


            RuntimeProject actualProject, PolicyBuilder policyBuilder,
            RuntimeProject logicalProject) {

        // Activate the cache control
        PolicyType policyType = policyBuilder.getPolicyType();
        CacheControlConstraintsMap constraintsMap =
                logicalProject.getCacheControlConstraintsMap();
        CacheControlConstraints constraints = constraintsMap.getConstraints(
                policyType);

        // Get the cache control builder from the policy.
        CacheControlBuilder cacheControlBuilder =
                policyBuilder.getCacheControlBuilder();
View Full Code Here

            final VariablePolicyType policyType,
            final VariantType variantType) {

        CacheControlConstraints constraints =
                CacheControlConstraints.getDefaultConstraints();
        CacheControlConstraintsMap constraintsMap =
                new SingleCacheControlConstraintsMap(constraints);

        MockFactory factory = MockFactory.getDefaultInstance();
        ExpectationBuilder localExpectations = factory.createUnorderedBuilder();
View Full Code Here

            RepositoryContainer repositoryContainer =
                    new RepositoryContainer(jdbcRepository, xmlRepository);

            // Create the remote project specific constraints.
            CacheControlConstraintsMap defaultRemoteCacheControlConstraintsMap
                    = createRemoteCacheControlConstraintsMap(
                            defaultRemoteCacheControlConstraints);

            // Create the local project specific constraints.
            CacheControlConstraintsMap defaultLocalCacheControlConstraintsMap
                    = createLocalCacheControlConstraintsMap();

            PopulatableProjectManager projectManager =
                    new ProjectManagerImpl(projectLoader,
                            new RuntimeProjectConfiguratorImpl(
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.policies.cache.CacheControlConstraintsMap

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.