ALF-12866: WebDAV in-memory locking: configuration

* Improved configuration: config loaded from a Hazelcast XML config file.
* Config loading similar to JGroups, e.g. "protocol" substituted into config file name.
* Hazelcast instance no longer started unless the "alfresco.cluster.name" property is set.
* Current default member discovery protocol is UDP/multicast, however this is because
  this is the default set up shipped with Hazelcast - this is likely to change to TCP.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34266 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2012-02-29 13:45:45 +00:00
parent 6e58fb9de0
commit 8dc24abf4b
11 changed files with 716 additions and 23 deletions

View File

@@ -34,6 +34,7 @@ import org.junit.runners.Suite.SuiteClasses;
*/
@RunWith(Suite.class)
@SuiteClasses({
org.alfresco.repo.cluster.HazelcastConfigFactoryBeanTest.class,
org.alfresco.repo.cluster.HazelcastMessengerFactoryTest.class,
org.alfresco.repo.cluster.HazelcastMessengerTest.class,
org.alfresco.repo.cluster.JGroupsMessengerTest.class