Searched refs:fromJndi (Results 1 – 3 of 3) sorted by relevance
19 import static com.google.inject.example.JndiProvider.fromJndi;41 bind(DataSource.class).toProvider(fromJndi(DataSource.class, "...")); in main()
45 static <T> Provider<T> fromJndi(Class<T> type, String name) { in fromJndi() method in JndiProvider
40 public static <T> Provider<T> fromJndi(Class<T> type, String name) { in fromJndi() method in JndiIntegration