So I have a DAO, with an interface and impl, and injecting it works fine in a
page:

public class SomePage
{
  @Inject
  private SomeDAO someDAO;
}



But then I have some tapestry service:

public class SomeService
{
  @Inject
  private SomeDAO someDAO; //nope
  @Inject @Autowired
  private SomeDAO someDAO; //nope
  @Autowired
  private SomeDAO someDAO; //nope
}



So how do I inject spring beans in services?

--
View this message in context: 
http://tapestry-users.832.n2.nabble.com/Injecting-spring-beans-in-tapestry-services-tp6334659p6334659.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to