It's not possible to inject components into an entity. However, you can look them
up:
| Component.getInstance("repository")
|
or
| Component.getInstance(Repository.class)
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089426#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...