MethodInterceptor implementation that routes calls to an MBean
running on the supplied MBeanServerConnection . Works for both
local and remote MBeanServerConnection s.
By default, the MBeanClientInterceptor will connect to the
MBeanServer and cache MBean metadata at startup. This can
be undesirable when running against a remote MBeanServer
that may not be running when the application starts. Through setting the
MBeanClientInterceptor.setConnectOnStartup(boolean) connectOnStartup property to "false",
you can defer this process until the first invocation against the proxy.
Requires JMX 1.2's MBeanServerConnection feature.
As a consequence, this class will not work on JMX 1.0.
This functionality is usually used through MBeanProxyFactoryBean .
See the javadoc of that class for more information.
author: Rob Harrop author: Juergen Hoeller since: 1.2 See Also: MBeanProxyFactoryBean See Also: MBeanClientInterceptor.setConnectOnStartup |