Class InjectorFactory

java.lang.Object
org.eclipse.e4.core.di.InjectorFactory

public final class InjectorFactory extends Object
Use this class to obtain an instance of the dependency injector.
Since:
1.7
Restriction:
This class is not intended to be instantiated by clients.
  • Method Details

    • getDefault

      public static IInjector getDefault()
      Returns default instance of the dependency injector.
      Returns:
      default dependency injector
    • makeInjector

      public static IInjector makeInjector()
      Returns a new instance of the dependency injector.
      Returns:
      a new instance of the dependency injector