On Wed, 08 Jun 2011 04:20:02 -0300, ael <alan-lua...@dash.com.ph> wrote:

    public static AuthenticationDAO buildAuthenticationDAO(
        @InjectService("HibernateSessionManager") HibernateSessionManager
sessionManager)
    {
AuthenticationDAOHibernate dao = new AuthenticationDAOHibernate();
        dao.setSessionManager(sessionManager);
        return dao;
    }

When you instatiate the object itself Tapestry-IoC doesn't do injection automatically. ;)

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to