shuber 2005/07/22 18:54:48 CEST
Modified files:
core/src/java/org/jahia/services/cluster
JGroupsClusterService.java
core/src/webapp/WEB-INF/etc/spring
applicationContext-services.xml
Log:
Start cluster messaging service at Jahia startup.
Revision Changes Path
1.2 +4 -0
jahia/core/src/java/org/jahia/services/cluster/JGroupsClusterService.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/java/org/jahia/services/cluster/JGroupsClusterService.java.diff?r1=1.1&r2=1.2&f=h
1.3 +6 -0
jahia/core/src/webapp/WEB-INF/etc/spring/applicationContext-services.xml
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/webapp/WEB-INF/etc/spring/applicationContext-services.xml.diff?r1=1.2&r2=1.3&f=h
Index: JGroupsClusterService.java
===================================================================
RCS file:
/home/cvs/repository/jahia/core/src/java/org/jahia/services/cluster/JGroupsClusterService.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- JGroupsClusterService.java 21 Jul 2005 15:07:40 -0000 1.1
+++ JGroupsClusterService.java 22 Jul 2005 16:54:47 -0000 1.2
@@ -86,6 +86,10 @@
}
}
+ public JGroupsClusterService() {
+
+ }
+
public void init(SettingsBean jSettings) throws
JahiaInitializationException {
try {
Index: applicationContext-services.xml
===================================================================
RCS file:
/home/cvs/repository/jahia/core/src/webapp/WEB-INF/etc/spring/applicationContext-services.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- applicationContext-services.xml 21 Jul 2005 15:07:37 -0000 1.2
+++ applicationContext-services.xml 22 Jul 2005 16:54:48 -0000 1.3
@@ -353,4 +353,10 @@
</bean>
</property>
</bean>
+ <bean id="ClusterService" parent="txProxyTemplate">
+ <property name="target">
+ <bean class="org.jahia.services.cluster.JGroupsClusterService">
+ </bean>
+ </property>
+ </bean>
</beans>
\ No newline at end of file