Package org.openengsb.core.ekb.api

Examples of org.openengsb.core.ekb.api.QueryInterface


        connectorManager.create(connectorDescription);
        getOsgiService(ExampleDomain.class, 30000L);
        Thread.sleep(1500);
        FileUtils.write(watchfile, "\"foo\",\"bar\"");
        Thread.sleep(1500);
        QueryInterface queryInterface = getOsgiService(QueryInterface.class);
        List<SourceModelA> sourceModelAs = queryInterface.queryForActiveModels(SourceModelA.class);
        assertThat(sourceModelAs.size(), is(1));
        assertThat(sourceModelAs.get(0).getEdbId(), is("foo"));
        assertThat(sourceModelAs.get(0).getName(), is("bar"));
    }
View Full Code Here

TOP

Related Classes of org.openengsb.core.ekb.api.QueryInterface

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.