Are using the spring configuration with the contextloaderlistener.
Have tried to configure server cache, http://docs.jboss.org/resteasy/docs/3.0.6.Final/userguide/html_single/#server_cache, but it's not apparent to me how, but could be a documentation issue.
Cant seem to register ServerCacheFeature in any way.
Have extended ServerCacheFeature and added @Named @Provider annotations.
This seems to work, but it's not picking up the infinispan configuration in this way (the param names are not available in configuration).