Also, this only applies to development mode, where the .class files are on the file system. Classes loaded from JARs are not reloaded and use the standard class loader.
On Wed, Aug 11, 2010 at 5:33 PM, Howard Lewis Ship <[email protected]> wrote: > 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 > <[email protected]> wrote: >> On Wed, 11 Aug 2010 20:01:29 -0300, Robert Zeigler <[email protected]> >> 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: [email protected] >> For additional commands, e-mail: [email protected] >> >> > > > > -- > 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 > -- 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: [email protected] For additional commands, e-mail: [email protected]
