You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by James Carman <ja...@carmanconsulting.com> on 2004/11/12 02:58:37 UTC
HiveMindFilter.getRegistry() access modifier...
Would it hurt anything to make the modifier to that method protected rather
than "default"?
Re: HiveMindFilter.getRegistry() access modifier...
Posted by Howard Lewis Ship <hl...@gmail.com>.
It's currently protected, just to expose it to the unit tests.
The point is to ensure that the only way to gain access to the
Registry is via the static method, which ensures that the Registry
exists, and that Registry.cleanupThread() will be invoked properly.
I'm not exactly sure how another piece of code could gain access to
the servlet instance however.
On Thu, 11 Nov 2004 20:58:37 -0500, James Carman
<ja...@carmanconsulting.com> wrote:
>
>
>
> Would it hurt anything to make the modifier to that method protected rather
> than "default"?
--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org