A section has been added to
http://community.jboss.org/docs/DOC-14839 with some examples
on how to configure Infinispan programmatically from 5.0 onwards.
Any feedback appreciated
Cheers,
--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache