3 Replies Latest reply: Nov 26, 2012 8:25 AM by mojoo mojoo RSS

Is it possible to unsubscribe an @Observes annotated methode?

mojoo mojoo Newbie

Hello i have a code snipplet like this:

 

public void doStuff(@Observes Stuff stuff) {

doMore(stuff);

}

 

im my Presenter class.

Is it possible to stop observing this event for a while and start observing again later at runtime?

 

thanks in advance mojoo