Java callback methods
<p>Can anybody help on how to implement callback methods using annotations in java ?</p>

<p>More detail -</p>

<p>Basically, I have a java method that returns nothing [void] but I wanted it to return the state of the object to the caller without changing the method signature using callback function. Hope that helps.</p>

<p>Thank you!</p>
