On Thu, 16 Sep 2010 02:54:52 -0300, 9902468 <ville.virta...@greenstreet.fi> wrote:

Hi,

Hi!

It uses T5 PropertyAccess service, but the static method doesn't receive it as parameter - it is instantiated inside the method using new
PropertyAccessImpl();.

PropertyAccessImpl is in a internal package and there's no guarantee of backward compatibility. You should not use it. While don't you just inject PropertyAccess through Tapestry-IoC?

Now the only question is: is the PropertyAccess service thread safe to use? What about the ClassPropertyAdapter.set(object, string, object) and
ClassPropertyAdapter.get(object, string)?

Looking at the sources, I can't see why it wouldn't be thread-safe. The set methods in PropertyAccessImpl and ClassPropertyAdapterImpl don't change their state.

--
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

Reply via email to