[jboss-user] [JBoss Seam] - Re: Entity withiout Injection --- How do construct a efficie

matt.drees do-not-reply at jboss.com
Thu Sep 27 13:35:21 EDT 2007


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#4089426

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4089426



More information about the jboss-user mailing list