Class GenericComponentFactory<ComponentType>

java.lang.Object
org.palladiosimulator.simulizar.di.extension.GenericComponentFactory<ComponentType>
All Implemented Interfaces:
Supplier<ComponentType>

public class GenericComponentFactory<ComponentType> extends Object implements Supplier<ComponentType>
  • Constructor Details

  • Method Details

    • getProvidedComponentTypes

      public Set<Class<?>> getProvidedComponentTypes()
    • getUnfullfilledRequirements

      public Set<Class<?>> getUnfullfilledRequirements()
    • fulfillRequirement

      public <T> void fulfillRequirement(Supplier<T> factory)
    • get

      public ComponentType get()
      Specified by:
      get in interface Supplier<ComponentType>
    • getClassHierarchy

      public static Iterable<Class<?>> getClassHierarchy(Class<?> baseClass)