Create a custom sensor for that method and mention the getter in the accessor e.g. as below screenshot.
Make sure that custom sensor placed and active in the sensors placement.
Also you will have to restart the application to take effect. In case of Sun/Oracle you can do the 'Hot Sensor Placement'.
Thanks for the prompt reply.
We have already tried the above Suggestion, but in that case we were getting "Accesor Failed".
Is it because of the text that comes before the Object ? If so kindly suggest alternate solution for the same.