I have a question about the one of the annotations in the Comet demo at:
I am not too familiar with Java's annotations, so I am wondering how I can
get access to the _timerService, which is declared like:
@In private TimerService _timerService;
I would like to create a JSTL custom tag, for example, that can access the
_timerService. What does @In do?
Do I just have to create a getter method that returns TimerService? That
wouldn't seem to work unless TimerService is a singleton -- but it's not
declared statically. I am thinking I can solve this easily with
annotations, but I just don't understand them quite yet.
resin-interest mailing list