How do I programmatically disable the update checks for an Ehcache?

Posted by Gosta on Stack Overflow See other posts from Stack Overflow or by Gosta
Published on 2010-03-24T10:38:48Z Indexed on 2010/03/24 10:43 UTC
Read the original article Hit count: 195

Filed under:

I know that the attribute "updateCheck" can be set in "false" in the XMLlike this:

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../config/ehcache.xsd" updateCheck="false" monitoring="autodetect">

But I need to do this programmatically. How should I do it?

© Stack Overflow or respective owner

Related posts about ehcache