Em Sun, 08 Mar 2009 23:31:49 -0300, manuel aldana <ald...@gmx.de> escreveu:

But I wonder why it works in the sample application from the tapestry-spring-security module, which has no AppModule defined. I guess then some tapestry magic comes in place (maybe scanning for implementors of interfaces...).

I couldn't find it in the Tapestry IoC documentation, but some time ago Howard added the featuring that when you binder.bind(SomeInterface.class), it looks for a SomeInterfaceImpl class in the same package. If found, the binding is done automatically. I guess that's what happens in the Tapestry Spring Security example.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

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

Reply via email to