infinispan/infinispan — pull request #1571 by galderz (2013-01-10 16:36:09+00:00)
Title: ISPN-1583 Avoid delegate advanced caches wrapped parameters

* Such parameters are flags or classloaders.
* By adding an interface that generates wrap objects, abstract delegate implementations can pass on caches with flags or cache loaders while keeping these wrapped.
* This avoid the problem of unwrapping a wrapper while keeping hold of the given flag/classloaders.