"genman" wrote :
| I'd like to also intercept calls to the method "getState()" and return the
Microcontainer state. Or, I'd like to "inject" state somehow.
|
| | public class MyService {
| | @InjectState
| | State state;
| | public State getState() { return state; }
| | }
| |
|
Just added new feature:
| <inject fromContext="getState" />
|
will do the job. ;-)
Follow this post for more info:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=113340&start=20
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066463#4066463
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066463
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user