Package com.volantis.mcs.runtime

Examples of com.volantis.mcs.runtime.VolantisInternals


    /**
     * Check the local repository properties values.
     */
    private void checkLocalRepositoryProperties() throws Exception {

        VolantisInternals internals = new VolantisInternals(volantis);
        MarinerConfiguration marinerConfig = internals.getMarinerConfig();

        AbstractPoliciesConfiguration defaultPolicies =
                marinerConfig.getProjects().getDefaultProject().getPolicies();

        // Note: the jdbc repository values are sometimes set even for
View Full Code Here


    private void checkDeviceRepositoryProperties()
            throws ConfigurationException {

        // We have implemented VolantisInternals as a workaround rather than
        // use reflection because this is all sh*te anyway.
        VolantisInternals internals = new VolantisInternals(volantis);
        DeviceRepositoryLocation location =
                internals.getDeviceRepositoryLocation();

        // This cannot be tested because of a hack in Volantis which
        // throws away this value if the file does not exist.
//        if (config.standardFileDeviceRepositoryLocation != null) {
//            Assert.assertEquals(config.standardFileDeviceRepositoryLocation,
View Full Code Here

                config.policyCaches.get(policy);

        // We have implemented VolantisInternals as a workaround rather than
        // use the commented code below to get around a bug to do with
        // reflection in the IBM JDK 1.4.1.
        VolantisInternals internals = new VolantisInternals(volantis);
        PolicyCacheConfiguration configuration =
                internals.getPolicyCacheConfiguration(cache.policyType);

        // NOTE: this fails in IBM JDK 1.4.1 with IllegalAccessException
        // the *second* time it is run. It looks like a VM bug to me.
//        ReflectionManager accessMgr = new ReflectionManager(
//                Volantis.class.getDeclaredMethod(
View Full Code Here

        // to add the parent element to the name provided to this method.

        // We have implemented VolantisInternals as a workaround rather than
        // use the commented code below to get around a bug to do with
        // reflection in the IBM JDK 1.4.1.
        VolantisInternals internals = new VolantisInternals(volantis);

        MarinerConfiguration marinerConfig = internals.getMarinerConfig();
        RemotePoliciesConfiguration configuration =
                marinerConfig.getRemotePolicies();
        RemotePolicyCacheConfiguration cacheConfiguration =
                configuration.getPolicyCache();
View Full Code Here

            throws Exception {

        // We have implemented VolantisInternals as a workaround rather than
        // use the commented code below to get around a bug to do with
        // reflection in the IBM JDK 1.4.1.
        VolantisInternals internals = new VolantisInternals(volantis);

        MarinerConfiguration marinerConfig = internals.getMarinerConfig();
        RemotePoliciesConfiguration configuration =
                marinerConfig.getRemotePolicies();
        Iterator i = configuration.getQuotaIterator();
        Map quotaMap = new HashMap();
        while (i.hasNext()) {
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.VolantisInternals

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.