In most cases, they will still work. For instance, reloadable class B
can extend class A and even invoke its protected methods.  What gets
you is package private access, or access to protected methods from
non-inheriting classes within the same package.

On Wed, Aug 11, 2010 at 4:35 PM, Thiago H. de Paula Figueiredo
<thiag...@gmail.com> wrote:
> On Wed, 11 Aug 2010 20:01:29 -0300, Robert Zeigler <robe...@scazdl.org>
> wrote:
>
>> Does:
>> binder.bind(Interface.class, Implementation.class).preventReloading();
>> not do the trick?
>
> I haven't tried, but I guess it does. I was talking about a single switch
> for all services in the registry. Think about projects using autobound
> services whose implementation is a subclass and I can't/don't want change
> the sources. For example, my packages and apps have several service
> implementations that are subclasses.
>
> --
> 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: dev-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: dev-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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

Reply via email to