I am working on OSGI based application which runs on Karaf. We use JPA and Hibernate to connect to mysql . Have enabled Level 2 cache using Ehcache. I want to enable JMX monitoring of Ehcache. I found an article which tells how to enable on JMX monitoring of Ehcache on Spring application (http://www.codesenior.com/en/tutorial/How-to-monitor-Ehcache-in-JMX-with-Spring-Configuration).
Is there a way to configure JMX monitoring of EHcache on OSGI application running on Karaf similar to example above ?