I have application created with Spring and has access through jmx to set some parameters. The problem that when I access by jconsole - all works, when access from my graphic interface - doesn't work. In debugger I checked that invoked the same method with the same parameters. Does it possible that Spring privides different instance of bean that I receive from jconsole? Thanks.
The instance is the same (unless your bean is prototype-scoped)
You can verify that by printing the object's toString()
to the console and compare the values after @
.