tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Howard Lewis Ship <hls...@gmail.com>
Subject Re: Access to the Tapestry Hivemind Registry in 4.0
Date Thu, 09 Jun 2005 15:33:34 GMT
The CVS HEAD has code changes where the Registry is stored into the
ServletContext using the key org.apache.tapestry.Registry:foo where
foo is the name of the application servlet.

Actually, just checked, looks like that code is in alpha-3.

On 6/9/05, Andrew Kirby <andrew.c.kirby@gmail.com> wrote:
> I have a requirement for access to the Hivemind Registry instance that
> is constructed within the Tapestry Application Servlet such that I can
> lookup and use the default SpecifcationParser service.
> 
> I cant find a way to achieve this ?
> 
> I am implementing an ISpecificationResolverDelegate class using the
> tapestry4-alpha3 code base and need access to the SpecificationParser
> service so assume that I can lookup this service from the Tapestry
> Registry instance, but cannot determine how to get a handle to this
> registry instance to perform the service lookup.
> 
> I tried using -
> 
> Registry registry = HiveMindFilter.getRegistry
> (cycle.getRequestContext().getRequest());
> 
> but this returns null when called from my
> ISpecificationResolverDelegate implementing class.
> 
> The registry has definitely been constructed correctly and populated
> as other components have already been parsed correctly when stepping
> debugging and stepping through the code.
> 
> Any help much appreciated
> 
> Andy
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message