Uses of Interface
io.streamthoughts.azkarra.api.components.ComponentDescriptorModifier
-
-
Uses of ComponentDescriptorModifier in io.streamthoughts.azkarra.api.components
Methods in io.streamthoughts.azkarra.api.components with parameters of type ComponentDescriptorModifier Modifier and Type Method Description default <T> void
ComponentRegistry. registerComponent(Class<T> componentClass, ComponentDescriptorModifier... modifiers)
Registers the component supplier for the specified type.default <T> void
ComponentRegistry. registerComponent(Class<T> componentClass, Supplier<T> supplier, ComponentDescriptorModifier... modifiers)
Registers the component supplier for the specified type.<T> void
ComponentRegistry. registerComponent(String componentName, Class<T> componentClass, ComponentDescriptorModifier... modifiers)
Registers the component supplier for the specified type and name.<T> void
ComponentRegistry. registerComponent(String componentName, Class<T> componentClass, Supplier<T> supplier, ComponentDescriptorModifier... modifiers)
Registers the component supplier for the specified type and name.<T> void
DelegatingComponentFactory. registerComponent(String componentName, Class<T> componentClass, ComponentDescriptorModifier... modifiers)
<T> void
DelegatingComponentFactory. registerComponent(String componentName, Class<T> componentClass, Supplier<T> supplier, ComponentDescriptorModifier... modifiers)
default <T> void
ComponentRegistry. registerSingleton(Class<T> componentClass, ComponentDescriptorModifier... modifiers)
Registers a singleton no-arg constructor component supplier for the specified type.default <T> void
ComponentRegistry. registerSingleton(Class<T> componentClass, Supplier<T> singleton, ComponentDescriptorModifier... modifiers)
Registers the component supplier for the specified type and name.<T> void
ComponentRegistry. registerSingleton(String componentName, Class<T> componentClass, ComponentDescriptorModifier... modifiers)
Registers a singleton no-arg constructor component supplier for the specified type.<T> void
ComponentRegistry. registerSingleton(String componentName, Class<T> componentClass, Supplier<T> singleton, ComponentDescriptorModifier... modifiers)
Registers the component supplier for the specified type and name.<T> void
DelegatingComponentFactory. registerSingleton(String componentName, Class<T> componentClass, ComponentDescriptorModifier... modifiers)
<T> void
DelegatingComponentFactory. registerSingleton(String componentName, Class<T> componentClass, Supplier<T> singleton, ComponentDescriptorModifier... modifiers)
-
Uses of ComponentDescriptorModifier in io.streamthoughts.azkarra.runtime.components
Methods in io.streamthoughts.azkarra.runtime.components that return ComponentDescriptorModifier Modifier and Type Method Description static ComponentDescriptorModifier
ComponentDescriptorModifiers. asEager()
Gets a modifier implementation that will set a component as eager.static ComponentDescriptorModifier
ComponentDescriptorModifiers. asPrimary()
Gets a modifier implementation that will set a component as primary.static ComponentDescriptorModifier
ComponentDescriptorModifiers. asSecondary()
Gets a modifier implementation that will set a component as secondary.static ComponentDescriptorModifier
ComponentDescriptorModifiers. withConditions(Condition... conditions)
Gets a modifier implementation that will set the conditions that need to be fulfilled for the component to be eligible for use in the application.static ComponentDescriptorModifier
ComponentDescriptorModifiers. withConditions(List<Condition> conditions)
Gets a modifier implementation that will set the conditions that need to be fulfilled for the component to be eligible for use in the application.static ComponentDescriptorModifier
ComponentDescriptorModifiers. withConfig(Conf configuration)
Gets a modifier implementation that will set the default configuration to pass to the component if it implements theConfigurable
interface.static ComponentDescriptorModifier
ComponentDescriptorModifiers. withOrder(int order)
Gets a modifier implementation that will set the given order of the component.Methods in io.streamthoughts.azkarra.runtime.components with parameters of type ComponentDescriptorModifier Modifier and Type Method Description <T> void
DefaultComponentFactory. registerComponent(String componentName, Class<T> componentClass, ComponentDescriptorModifier... modifiers)
Registers the component supplier for the specified type and name.<T> void
DefaultComponentFactory. registerComponent(String componentName, Class<T> componentClass, Supplier<T> supplier, ComponentDescriptorModifier... modifiers)
Registers the component supplier for the specified type and name.<T> void
DefaultComponentFactory. registerSingleton(String componentName, Class<T> componentClass, ComponentDescriptorModifier... modifiers)
Registers a singleton no-arg constructor component supplier for the specified type.<T> void
DefaultComponentFactory. registerSingleton(String componentName, Class<T> componentClass, Supplier<T> singleton, ComponentDescriptorModifier... modifiers)
Registers the component supplier for the specified type and name. -
Uses of ComponentDescriptorModifier in io.streamthoughts.azkarra.runtime.context
Methods in io.streamthoughts.azkarra.runtime.context with parameters of type ComponentDescriptorModifier Modifier and Type Method Description <T> void
DefaultAzkarraContext. registerComponent(String componentName, Class<T> componentClass, ComponentDescriptorModifier... modifiers)
Registers the component supplier for the specified type and name.<T> void
DefaultAzkarraContext. registerComponent(String componentName, Class<T> componentClass, Supplier<T> supplier, ComponentDescriptorModifier... modifiers)
Registers the component supplier for the specified type and name.<T> void
DefaultAzkarraContext. registerSingleton(String componentName, Class<T> componentClass, ComponentDescriptorModifier... modifiers)
Registers a singleton no-arg constructor component supplier for the specified type.<T> void
DefaultAzkarraContext. registerSingleton(String componentName, Class<T> componentClass, Supplier<T> singleton, ComponentDescriptorModifier... modifiers)
Registers the component supplier for the specified type and name. -
Uses of ComponentDescriptorModifier in io.streamthoughts.azkarra.streams.components.annotation
Methods in io.streamthoughts.azkarra.streams.components.annotation that return types with arguments of type ComponentDescriptorModifier Modifier and Type Method Description Optional<ComponentDescriptorModifier>
ComponentDescriptorModifierResolver.ApplyModifierOnAnnotationExist. resolves(Class<?> clazz)
Resolves theComponentDescriptorModifier
for the given component type.Optional<ComponentDescriptorModifier>
ComponentDescriptorModifierResolver.ApplyModifierOnAnnotationExist. resolves(Method method)
Resolves theComponentDescriptorModifier
for the given component type.Optional<ComponentDescriptorModifier>
ComponentDescriptorModifierResolver.ApplyModifierOnAnnotations. resolves(Class<?> clazz)
Resolves theComponentDescriptorModifier
for the given component type.Optional<ComponentDescriptorModifier>
ComponentDescriptorModifierResolver.ApplyModifierOnAnnotations. resolves(Method method)
Resolves theComponentDescriptorModifier
for the given component type.Optional<ComponentDescriptorModifier>
ComponentDescriptorModifierResolver. resolves(Class<?> clazz)
Resolves theComponentDescriptorModifier
for the given component type.Optional<ComponentDescriptorModifier>
ComponentDescriptorModifierResolver. resolves(Method method)
Resolves theComponentDescriptorModifier
for the given component type.Methods in io.streamthoughts.azkarra.streams.components.annotation with parameters of type ComponentDescriptorModifier Modifier and Type Method Description static ComponentDescriptorModifierResolver
ComponentDescriptorModifierResolver. onAnnotationExists(Class<? extends Annotation> annotationType, ComponentDescriptorModifier modifier)
Returns the givenComponentDescriptorModifier
only if the component is annotated with the given component.Method parameters in io.streamthoughts.azkarra.streams.components.annotation with type arguments of type ComponentDescriptorModifier Modifier and Type Method Description static <T extends Annotation>
ComponentDescriptorModifierResolverComponentDescriptorModifierResolver. onAnnotations(Class<T> annotationType, Function<List<T>,ComponentDescriptorModifier> modifier)
Returns the givenComponentDescriptorModifier
only if the component is annotated with the given component.static <T extends Annotation>
ComponentDescriptorModifierResolverComponentDescriptorModifierResolver. onSingleAnnotation(Class<T> annotationType, Function<T,ComponentDescriptorModifier> modifier)
Returns the givenComponentDescriptorModifier
only if the component is annotated with the given component.
-