jbossas/jboss-as — pull request #1857 by rachmatowicz (2012-03-21 13:23:09+00:00)
Title: [AS7-4090] Refactor Infinispan subsystem CacheContainerAdd and CacheAdd to allow reuse of installation and removal of services

This pull request:
- tidies up CacheContainerAdd and CacheAdd service installation
- makes reuseable methods installRuntimeServices and removeRuntimeServices available for reuse in CacheContainerRemove and CacheRemove.
- adds in tests for sequences of add/remove operations
- adds in test for testing rollback of CacheContainerRemove