com.google.inject.util
Class Jsr330
java.lang.Object
com.google.inject.util.Jsr330
public class Jsr330
- extends Object
Utility methods for use with JSR
330.
- Since:
- 3.0
|
Method Summary |
static
|
guicify(Provider<T> provider)
Returns a Guice-friendly com.google.inject.Provider for the given
JSR-330 javax.inject.Provider. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
guicify
public static <T> Provider<T> guicify(Provider<T> provider)
- Returns a Guice-friendly
com.google.inject.Provider for the given
JSR-330 javax.inject.Provider. The converse method is unnecessary,
since Guice providers directly implement the JSR-330 interface.