tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thiago H de Paula Figueiredo" <thiag...@gmail.com>
Subject Re: Proposal for ObjectFactory service in 5.4
Date Mon, 14 Oct 2013 14:06:29 GMT
On Mon, 14 Oct 2013 09:56:05 -0300, Barry Books <trsvax@gmail.com> wrote:

> found NullAnnotaionProvider which is somewhat better
>
> invoice = provider.provide(Invoice.*class*, *new*  
> NullAnnotationProvider(),
> *null*, *true*);

Or just pass null. As I said before in this thread, I don't see the need  
for a second way/service for providing objects. Maybe just another method  
in ObjectLocator with fewer parameters (just the type), passing default  
values.

-- 
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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


Mime
View raw message