Package 

Class DI


  • 
    public final class DI
    
                        
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static DI instance
    • Method Summary

      Modifier and Type Method Description
      static DI getInstance()
      static void reset()
      synchronized <T> T getSingletonInstance(Class<T> key) Return the instance of a singleton if it exists, null otherwise
      synchronized <T> void addSingletonInstance(Class<T> key, T instance) Return the instance of a singleton if it exists, null otherwise
      • Methods inherited from class java.lang.Object

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