Class GuiceInjector

java.lang.Object
io.datarouter.inject.guice.GuiceInjector
All Implemented Interfaces:
DatarouterInjector

@Singleton
public class GuiceInjector
extends java.lang.Object
implements DatarouterInjector
  • Constructor Summary

    Constructors 
    Constructor Description
    GuiceInjector​(com.google.inject.Injector injector)  
  • Method Summary

    Modifier and Type Method Description
    <T> T getInstance​(java.lang.Class<? extends T> clazz)  
    <T> java.util.Map<java.lang.String,​T> getInstancesOfType​(java.lang.Class<T> type)  
    void injectMembers​(java.lang.Object instance)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.datarouter.inject.DatarouterInjector

    getInstances