Searched refs:fromSpring (Results 1 – 2 of 2) sorted by relevance
19 import static com.google.inject.spring.SpringIntegration.fromSpring;55 .toProvider(fromSpring(Singleton.class, "singleton")); in testBindFromSpring()57 .toProvider(fromSpring(Prototype.class, "prototype")); in testBindFromSpring()
47 public static <T> Provider<T> fromSpring(Class<T> type, String name) { in fromSpring() method in SpringIntegration