Skip to content
Permalink
Browse files
JGroups testing.
  • Loading branch information
mrg committed Dec 19, 2021
1 parent 5f81c3f commit d34838eada387d4f7b801f8d1ac766053a7d9396
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
@@ -25,6 +25,7 @@
import org.apache.cayenne.configuration.server.ServerModule;
import org.apache.cayenne.di.DIBootstrap;
import org.apache.cayenne.di.Module;
import org.apache.cayenne.event.JGroupsModule;
import org.apache.cayenne.modeler.di.Injection;
import org.apache.cayenne.modeler.layout.MainWindowLayout;
import org.apache.cayenne.modeler.layout.PreferencesLayout;
@@ -178,6 +179,7 @@ protected static Collection<Module> appendModules(final Collection<Module> modul
modules.add(new ServerModule("CayenneModeler"));
// modules.add(ServerRuntime.builder().addConfig("CayenneModeler").build());
modules.add(new ProjectModule());
modules.add(new JGroupsModule());
// modules.add(new CayenneModelerModule());

return modules;
@@ -187,7 +189,7 @@ public static void main(final String[] args)
{
// Font.loadFont(CayenneModeler.class.getResource("/font/fontawesome-webfont.ttf").toExternalForm(), 10);

Injection.setInjector(DIBootstrap.createInjector(appendModules(new ArrayList<Module>())));
Injection.setInjector(DIBootstrap.createInjector(appendModules(new ArrayList<>())));

launch(args);
}
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<domain project-version="9">
<property name="cayenne.DataDomain.validatingObjectsOnCommit" value="false"/>
<property name="cayenne.DataRowStore.EventBridge.factory" value="org.apache.cayenne.event.JavaGroupsBridgeFactory"/>
<property name="cayenne.DataRowStore.remote.notify" value="true"/>
<property name="cayenne.JMSBridge.topic.connection.factory" value="JmsTopicConnectionFactory"/>
<property name="javagroupsbridge.config.url" value="mrg"/>

<map name="analytic"/>

0 comments on commit d34838e

Please sign in to comment.