anonymous wrote : You can always check the current execution stack. :-) |
This feels like a hack, hence the smiley ... I might be better off creating a central service controller that users would use to stop/start services by name. Exposing stop/start as MBean operations seems logical, but if there isn't a clean way to detect who's calling stop(), I probably should avoid this approach. Could you point me to some examples on how to construct a method interceptor in the -beans.xml format, for beans marked with annotations? In case I change my mind again. | <inject fromContext="getState" /> | Also: Is there a way to inject "beaninfo" using annotations? I'd rather not have to copy the same injection XML for every declaration. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066789#4066789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066789 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
