Search in sources :

Example 1 with ProjectModule

use of org.apache.cayenne.project.ProjectModule in project cayenne by apache.

the class Main method appendModules.

protected Collection<Module> appendModules(Collection<Module> modules) {
    // TODO: this is dirty... ServerModule is out of place inside the Modeler...
    // If we need ServerRuntime for certain operations, those should start their own stack...
    modules.add(new ServerModule());
    modules.add(new ProjectModule());
    modules.add(new DbSyncModule());
    modules.add(new CayenneModelerModule());
    return modules;
}
Also used : ProjectModule(org.apache.cayenne.project.ProjectModule) CayenneModelerModule(org.apache.cayenne.modeler.init.CayenneModelerModule) DbSyncModule(org.apache.cayenne.dbsync.DbSyncModule) ServerModule(org.apache.cayenne.configuration.server.ServerModule)

Aggregations

ServerModule (org.apache.cayenne.configuration.server.ServerModule)1 DbSyncModule (org.apache.cayenne.dbsync.DbSyncModule)1 CayenneModelerModule (org.apache.cayenne.modeler.init.CayenneModelerModule)1 ProjectModule (org.apache.cayenne.project.ProjectModule)1