Em Thu, 18 Jun 2009 20:45:39 -0300, Norman Franke <nor...@myasd.com>
escreveu:
I think I figured it out:
@InjectService("PageRenderQueue")
private PageRenderQueue pageRenderQueue;
By the way, very clever way to do it. :) Two comments:
You could just @Inject private PageRenderQueue pageRenderQueue;
@InjectService is meant to be used when there is more than one service
instance for a given type.
In addition, it is not advisable to use anything inside
org.apache.tapestry5.internal, because it was created by Howard
specifically to hold anything that Tapestry won't guarantee backward
compatibility. Some internal classes were even removed between releases,
but not a single not internal one. ;)
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org