Package com.volantis.mcs.runtime.configuration

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


        configBuilder.setAddDefaultDevices(false);
        MarinerConfiguration config = configBuilder.buildConfiguration();
       
        // Check we got back the top level objects.
        assertNotNull(config);
        DevicesConfiguration devices = config.getDevices();
        assertNotNull(devices);

        // Test the default project.
        RepositoryDeviceConfiguration standard =
                devices.getStandardDeviceRepository();
        assertNotNull(standard);
        return standard;
    }
View Full Code Here


     * default values.
     *
     * @return the configuration object.
     */
    private UnknownDevicesLoggingConfiguration getUnknownDevicesConfiguration() {
        final DevicesConfiguration devicesConfiguration =
            getDevicesConfiguration();

        UnknownDevicesLoggingConfiguration unknownDevicesConfig =
            devicesConfiguration.getUnknownDevicesLogging();
        return unknownDevicesConfig;
    }
View Full Code Here

     * @return The {@link RepositoryConnectionType of the device repository}
     *
     */
    private RepositoryConnectionType getDRepositoryConnectionType() {

        DevicesConfiguration devices = marinerConfig.getDevices();

        RepositoryDeviceConfiguration srdc =
                devices.getStandardDeviceRepository();

        RepositoryConnectionType deviceConnectionType = null;

        if (srdc != null) {
            if (srdc instanceof JDBCRepositoryDeviceConfiguration) {
View Full Code Here

     *                                repository
     */
    DeviceRepositoryLocation getDeviceRepositoryLocation(
            ConfigContext configContext)
            throws ConfigurationException {
        DevicesConfiguration devices = marinerConfig.getDevices();
        RepositoryDeviceConfiguration srdc =
                devices.getStandardDeviceRepository();
        if (srdc != null) {
            if (srdc instanceof JDBCRepositoryDeviceConfiguration) {
                // JDBC devices - this object should probably be passed into
                // the JDBC repository / JDBC device accessor directly.

View Full Code Here

TOP

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

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.