Trick is to construct the Element for the eviction policy config. Other than that, it should be just a plain call like,
... cache.setEvictionPolocyConfig(element); cache.start(); If you can contribute the snippet, I can put it into FAQ. :-) -Ben View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864899#3864899 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864899 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
