> 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... As I said before, I am fine with my approach, much of a muchness but this could be a better way for others.
Regards, Peter ----- Original Message ----- From: "Thiago H. de Paula Figueiredo" <thiag...@gmail.com> To: "Peter Stavrinides" <p.stavrini...@albourne.com> Sent: Wednesday, 5 October, 2011 16:37:31 GMT +02:00 Athens, Bucharest, Istanbul Subject: Re: T5.2 and Metro / SOAP On Wed, 05 Oct 2011 10:30:10 -0300, Peter Stavrinides <p.stavrini...@albourne.com> wrote: > The ObjectLocator provides access to services defined within a Registry, > but I haven't seen an example of using it to get hold of a reference to > the actual registry? Registry is an ObjectLocator. Registry is a subinterface of ObjectLocator. What do you need in Registry that ObjectLocator doesn't have? -- 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