On Mon, 14 Oct 2013 09:56:05 -0300, Barry Books <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to