Package com.volantis.mcs.policies

Examples of com.volantis.mcs.policies.BaseURLPolicyBuilder


       
        pageContext.pushIMDAPIElement(this);

        // Create the base URL builder.
        PolicyFactory factory = PolicyFactory.getDefaultInstance();
        BaseURLPolicyBuilder builder = factory.createBaseURLPolicyBuilder();
        builder.setName(attrs.getName());

        String locationTypeAsString = attrs.getLocationType();
        BaseLocation baseLocation = getBaseLocation(locationTypeAsString);
        builder.setBaseLocation(baseLocation);
        builder.setBaseURL(attrs.getPrefixURL());

        // Add it to the map.
        IMDPolicyFetcher fetcher = pageContext.getPagePolicyFetcher();
        fetcher.addInlinePolicyBuilder(builder);
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.policies.BaseURLPolicyBuilder

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.