Package com.volantis.mcs.runtime.configuration

Examples of com.volantis.mcs.runtime.configuration.FileRepositoryDeviceConfiguration


        String repositoryElement = "<file-repository location=\"devices.mdpr\"/>";
        RepositoryDeviceConfiguration standard =
                checkStandardDeviceRepository(repositoryElement);

        assertTrue(standard instanceof FileRepositoryDeviceConfiguration);
        FileRepositoryDeviceConfiguration file =
                (FileRepositoryDeviceConfiguration) standard;
        assertEquals("", "devices.mdpr", file.getLocation());
    }
View Full Code Here


                }
            } else if (srdc instanceof FileRepositoryDeviceConfiguration) {
                // File devices - this object should probably be passed into
                // the XML repository / XML device accessor directly.

                FileRepositoryDeviceConfiguration fsrdc =
                        (FileRepositoryDeviceConfiguration) srdc;
                String deviceLocation = fsrdc.getLocation();
                if (deviceLocation != null) {
                    File deviceFile = configContext.getConfigRelativeFile(
                        deviceLocation, true);
                    if (deviceFile != null) {
                        if (logger.isDebugEnabled()) {
View Full Code Here

TOP

Related Classes of com.volantis.mcs.runtime.configuration.FileRepositoryDeviceConfiguration

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.