Class GenericComponentFactory<ComponentType>
- java.lang.Object
-
- org.palladiosimulator.simulizar.di.extension.GenericComponentFactory<ComponentType>
-
-
Constructor Summary
Constructors Constructor Description GenericComponentFactory(ExtensionComponent.Factory daggerComponentFactory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> void
fulfillRequirement(Supplier<T> factory)
ComponentType
get()
static Iterable<Class<?>>
getClassHierarchy(Class<?> baseClass)
Set<Class<?>>
getProvidedComponentTypes()
Set<Class<?>>
getUnfullfilledRequirements()
-
-
-
Constructor Detail
-
GenericComponentFactory
public GenericComponentFactory(ExtensionComponent.Factory daggerComponentFactory)
-
-
Method Detail
-
fulfillRequirement
public <T> void fulfillRequirement(Supplier<T> factory)
-
get
public ComponentType get()
- Specified by:
get
in interfaceSupplier<ComponentType>
-
-