sure, see wicket-ioc, you can write whatever lookup code you need yourself then.
-igor On Tue, Mar 23, 2010 at 8:52 AM, smallufo <small...@gmail.com> wrote: > Is it possible to 'not' introduce any 3rd library / annotation to enable > this feature ? > Will a custom IComponentInstantiationListener be able to do this ? > > > 2010/3/23 Igor Vaynberg <igor.vaynb...@gmail.com> > >> something has to do the injection, if not spring you can try >> salve.googlecode.com or aspectj, etc >> >> -igor >> >> On Tue, Mar 23, 2010 at 8:20 AM, smallufo <small...@gmail.com> wrote: >> > Hi >> > Is there any way to inject a DAO into Wicket without Spring ? >> > ex : >> > >> > public interface PersonDao { some methods... } >> > >> > public class PersonDaoImpl implements PersonDao , Serializable { >> > �...@persistencecontext(unitName = "data", type = >> > PersistenceContextType.TRANSACTION) >> > EntityManager entityManager; >> > >> > .. other method implementations ... >> > } >> > >> > public class CurrentPage extends WebPage { >> > �...@javax.inject.inject PersonDao personDao; >> > } >> > >> > It's not working , anybody know how to achieve this ? >> > >> > server : >> > Resin 4.0.4 >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org