On Mon, Sep 29, 2008 at 1:39 AM, Dhanji R. Prasanna <[EMAIL PROTECTED]>wrote:

>
> And simply bind them as follows:
> bind(Properties.class).toInstance(...<an obj with the above props>...);
>

As you probably suspected, you forgot the JpaUnit annotation :-)
bind(Properties.class).annotatedWith(JpaUnit.class).toInstance(...);

In WP 2.0 we'll add explicit ways to configure these properties. Bindings
are a little bit too magical in this case, especially when we add support
for multiple WP modules per Injector.

Cheers
Robbie

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to