Hello, dear community.
I have a proxied object with transaction management advices applied to it. I am trying to get the target from it:
and publish the resulting target with MBeanExporter:Code:myProxiedObject.getTargetSource().getTarget()
but in jconsole I still see a bulk of methods and fields from proxy and more - I can invoke them! But i'd like to have only business logic methods from the target (as I see in jconsole when not applying any advice) and not aop-proxy related stuff.Code:<bean class="org.springframework.jmx.export.MBeanExporter"> <property name="beans"> <map> <entry key="Systems:someName" value-ref="target" /> </map> </property> </bean>
What wrong am I doing?


Reply With Quote