Package com.volantis.mcs.runtime.configuration

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


     *
     * @throws ConfigurationException
     */
    public void testStandardFileRepository() throws ConfigurationException {
        String repositoryElement = "<file-repository location=\"devices.mdpr\"/>";
        RepositoryDeviceConfiguration standard =
                checkStandardDeviceRepository(repositoryElement);

        assertTrue(standard instanceof FileRepositoryDeviceConfiguration);
        FileRepositoryDeviceConfiguration file =
                (FileRepositoryDeviceConfiguration) standard;
View Full Code Here


     *
     * @throws ConfigurationException
     */
    public void testStandardJdbcRepository() throws ConfigurationException {
        String repositoryElement = "<jdbc-repository project=\"jdbc-project\"/>";
        RepositoryDeviceConfiguration standard =
                checkStandardDeviceRepository(repositoryElement);

        assertTrue(standard instanceof JDBCRepositoryDeviceConfiguration);
        JDBCRepositoryDeviceConfiguration jdbc =
                (JDBCRepositoryDeviceConfiguration) standard;
View Full Code Here

        assertNotNull(config);
        DevicesConfiguration devices = config.getDevices();
        assertNotNull(devices);

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

     */
    private RepositoryConnectionType getDRepositoryConnectionType() {

        DevicesConfiguration devices = marinerConfig.getDevices();

        RepositoryDeviceConfiguration srdc =
                devices.getStandardDeviceRepository();

        RepositoryConnectionType deviceConnectionType = null;

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

     */
    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.RepositoryDeviceConfiguration

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.