Package org.apache.cayenne.configuration.server

Examples of org.apache.cayenne.configuration.server.ServerModule


public class CAY_743Test extends TestCase {

    public void testLoad2MapsWithCrossMapInheritance() throws Exception {

        Injector injector = DIBootstrap.createInjector(new ServerModule(
                "cay743/cayenne-domain.xml"));

        DataDomain domain = injector.getInstance(DataDomain.class);
        assertEquals(2, domain.getDataMaps().size());
View Full Code Here


        });

    }

    protected Collection<Module> appendModules(Collection<Module> modules) {
        modules.add(new ServerModule("CayenneModeler"));
        modules.add(new CayenneProjectModule());
        modules.add(new CayenneModelerModule());

        return modules;
    }
View Full Code Here

public class CAY_743Test extends TestCase {

    public void testLoad2MapsWithCrossMapInheritance() throws Exception {

        Injector injector = DIBootstrap.createInjector(new ServerModule(
                "cay743/cayenne-domain.xml"));

        try {
            DataDomain domain = injector.getInstance(DataDomain.class);
            assertEquals(2, domain.getDataMaps().size());
View Full Code Here

TOP

Related Classes of org.apache.cayenne.configuration.server.ServerModule

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.