I have a Java class which I am running from Eclipse.
I want to implement jmx counters on the Eclipse and not on the jconsole.
The class doesn't have any jmx initialization or spring initialization. It's a normal Java class .
Is there any API which I can copy in my Java class and add a applicationContext.xml in the main/src/resources in the Java class.
I just want to implement an API so that I can display my jmx counters using @managaAttribute on the Eclipse console.