On Wed, 05 Oct 2011 10:46:03 -0300, Peter Stavrinides
<p.stavrini...@albourne.com> wrote:
Registry is an ObjectLocator. Registry is a subinterface of
ObjectLocator.
What do you need in Registry that ObjectLocator doesn't have?
Okay I get it now, wrap it all in an IoC service that uses ObjectLocator
to lookup the services, and contribute this service to RegistryStartup
so there would be no need for a reference to the Registry...
Exactly. It doesn't even need to be a service, as you can inject
ObjectLocator in your contributeRegistryStartup() method.
As I said before, I am fine with my approach, much of a muchness but
this could be a better way for others.
I'm not saying it was wrong: it isn't. I just prefer solutions that don't
involve web.xml. :)
--
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