On 6 Jul 2010, at 10:41, Galder ZamarreƱo wrote:
Hey,
As a result of changing RpcManagerImpl getAddress method name to getNodeAddress, the
following test is failing:
http://hudson.qa.jboss.com/hudson/view/Infinispan/job/Infinispan-4.1.x-JD...
Be careful about changing method names, particularly when these methods are annotated
with @ManagedAttribute or JOPR annotations because they affect statistic MBean property
names.
ok, thanks
By the way, what is the reason why you changed the method name and added a new getAddress
method to RpcManager interface and RpcManagerImpl?
That information is available via rpcManager.getTransport.getAddress. Is it to provide
some kind of shortcut?
yes
DefaultCacheManager uses transport.getAddress() without problems.
Cheers,
--
Galder ZamarreƱo
Sr. Software Engineer
Infinispan, JBoss Cache