ModeShape/modeshape — pull request #730 by rhauch (2013-03-06 00:23:35+00:00)
Title: MODE-1771 Removed the ISPN 5.1-specific cache settings 

Now that we've moved to Infinispan 5.2, this commit removes the 5.1-specific settings and logic that was recently added to the Schematic framework.

Also adjusted several clustering tests so that the repositories are cleaned up with a slight delay so that repositories are not shutdown when they are processing the JGroups view changes from another repository shutting down.

Also includes two other commits:

* MODE-1834 Corrected federation logic when pessimistic locking is enabled to supplement a previous change in RepositoryCache. (Several tests started failing when I changed the way our tests set up ISPN caches to use the newer 5.2.x-style configuration builders.
* MODE-1763 Changed from using deprecated methods (compatible with 5.1.x) to the newer 5.2.x style configuration builders.