Home
last modified time | relevance | path

Searched refs:fromSpring (Results 1 – 2 of 2) sorted by relevance

/external/guice/extensions/spring/test/com/google/inject/spring/
DSpringIntegrationTest.java19 import static com.google.inject.spring.SpringIntegration.fromSpring;
50 bind(Singleton.class).toProvider(fromSpring(Singleton.class, "singleton")); in testBindFromSpring()
51 bind(Prototype.class).toProvider(fromSpring(Prototype.class, "prototype")); in testBindFromSpring()
/external/guice/extensions/spring/src/com/google/inject/spring/
DSpringIntegration.java45 public static <T> Provider<T> fromSpring(Class<T> type, String name) { in fromSpring() method in SpringIntegration