Uses of Interface
io.streamthoughts.azkarra.api.components.ComponentDescriptor
-
-
Uses of ComponentDescriptor in io.streamthoughts.azkarra.api.components
Classes in io.streamthoughts.azkarra.api.components that implement ComponentDescriptor Modifier and Type Class Description class
SimpleComponentDescriptor<T>
TheSimpleComponentDescriptor
is the base class used fro describing components.Fields in io.streamthoughts.azkarra.api.components with type parameters of type ComponentDescriptor Modifier and Type Field Description static Comparator<ComponentDescriptor<?>>
ComponentDescriptor. ORDER_BY_ORDER
static Comparator<ComponentDescriptor<?>>
ComponentDescriptor. ORDER_BY_VERSION
Methods in io.streamthoughts.azkarra.api.components that return ComponentDescriptor Modifier and Type Method Description <T> ComponentDescriptor<T>
ComponentDescriptorModifier. apply(ComponentDescriptor<T> descriptor)
Modifies the givenComponentDescriptor
.ComponentDescriptor<T>
GettableComponent. descriptor()
Gets the descriptor for the component.<T> ComponentDescriptor<T>
ComponentDescriptorFactory. make(String componentName, Class<T> componentType, Supplier<T> componentSupplier, boolean isSingleton)
Makes a newSimpleComponentDescriptor
instance.Methods in io.streamthoughts.azkarra.api.components with parameters of type ComponentDescriptor Modifier and Type Method Description <T> ComponentDescriptor<T>
ComponentDescriptorModifier. apply(ComponentDescriptor<T> descriptor)
Modifies the givenComponentDescriptor
.<T> String
ComponentNameGenerator. generate(ComponentDescriptor<T> descriptor)
Generates a component name for the specified component descriptor.Set<String>
ComponentAliasesGenerator. getAliasesFor(ComponentDescriptor descriptor, Collection<? extends ComponentDescriptor> allDescriptors)
Gets unique aliases for the specifiedSimpleComponentDescriptor
descriptor.<T> void
ComponentDescriptorRegistry. registerDescriptor(ComponentDescriptor<T> descriptor)
Registers the specifiedComponentDescriptor
to thisComponentRegistry
.<T> void
DelegatingComponentFactory. registerDescriptor(ComponentDescriptor<T> descriptor)
Method parameters in io.streamthoughts.azkarra.api.components with type arguments of type ComponentDescriptor Modifier and Type Method Description Stream<ComponentDescriptor<T>>
Qualifier. filter(Class<T> componentType, Stream<ComponentDescriptor<T>> candidates)
default Optional<ComponentDescriptor<T>>
Qualifier. findFirst(Class<T> componentType, Stream<ComponentDescriptor<T>> candidates)
Set<String>
ComponentAliasesGenerator. getAliasesFor(ComponentDescriptor descriptor, Collection<? extends ComponentDescriptor> allDescriptors)
Gets unique aliases for the specifiedSimpleComponentDescriptor
descriptor.boolean
GettableComponent. isEnable(ComponentConditionalContext<ComponentDescriptor<T>> conditionalContext)
Constructors in io.streamthoughts.azkarra.api.components with parameters of type ComponentDescriptor Constructor Description SimpleComponentDescriptor(ComponentDescriptor<T> descriptor)
Creates a newSimpleComponentDescriptor
instance from the given one. -
Uses of ComponentDescriptor in io.streamthoughts.azkarra.api.components.condition
Classes in io.streamthoughts.azkarra.api.components.condition with type parameters of type ComponentDescriptor Modifier and Type Interface Description interface
ComponentConditionalContext<T extends ComponentDescriptor>
Interface to verify if a conditional component is enabled for a given context.interface
ConditionContext<T extends ComponentDescriptor>
The context information for use by aCondition
matching aComponentDescriptor
. -
Uses of ComponentDescriptor in io.streamthoughts.azkarra.api.components.qualifier
Methods in io.streamthoughts.azkarra.api.components.qualifier with parameters of type ComponentDescriptor Modifier and Type Method Description protected boolean
NamedQualifier. matches(ComponentDescriptor<T> descriptor)
-
Uses of ComponentDescriptor in io.streamthoughts.azkarra.api.providers
Classes in io.streamthoughts.azkarra.api.providers that implement ComponentDescriptor Modifier and Type Class Description class
TopologyDescriptor<T extends TopologyProvider>
ASimpleComponentDescriptor
for describing aTopologyProvider
implementation.Constructors in io.streamthoughts.azkarra.api.providers with parameters of type ComponentDescriptor Constructor Description TopologyDescriptor(ComponentDescriptor<T> descriptor)
Creates a newTopologyDescriptor
instance. -
Uses of ComponentDescriptor in io.streamthoughts.azkarra.runtime.components
Classes in io.streamthoughts.azkarra.runtime.components that implement ComponentDescriptor Modifier and Type Class Description class
ComponentDescriptorBuilder<T>
Methods in io.streamthoughts.azkarra.runtime.components that return ComponentDescriptor Modifier and Type Method Description ComponentDescriptor<T>
ComponentDescriptorBuilder. build()
<T> ComponentDescriptor<T>
DefaultComponentDescriptorFactory. make(String componentName, Class<T> componentType, Supplier<T> componentSupplier, boolean isSingleton)
Makes a newSimpleComponentDescriptor
instance.Methods in io.streamthoughts.azkarra.runtime.components that return types with arguments of type ComponentDescriptor Modifier and Type Method Description <T> Collection<ComponentDescriptor<T>>
DefaultComponentFactory. findAllDescriptorsByAlias(String alias)
Finds allComponentDescriptor
registered for the specified alias.<T> Collection<ComponentDescriptor<T>>
DefaultComponentFactory. findAllDescriptorsByAlias(String alias, ComponentConditionalContext context)
Finds allComponentDescriptor
registered for the specified alias.<T> Collection<ComponentDescriptor<T>>
DefaultComponentFactory. findAllDescriptorsByAlias(String alias, ComponentConditionalContext context, Qualifier<T> qualifier)
Finds allComponentDescriptor
registered for the specified alias.<T> Collection<ComponentDescriptor<T>>
DefaultComponentFactory. findAllDescriptorsByAlias(String alias, Qualifier<T> qualifier)
Finds allComponentDescriptor
registered for the specified alias.<T> Collection<ComponentDescriptor<T>>
DefaultComponentFactory. findAllDescriptorsByClass(Class<T> type)
Finds allComponentDescriptor
registered for the specified type.<T> Collection<ComponentDescriptor<T>>
DefaultComponentFactory. findAllDescriptorsByClass(Class<T> type, ComponentConditionalContext context)
Finds allComponentDescriptor
registered for the specified type.<T> Collection<ComponentDescriptor<T>>
DefaultComponentFactory. findAllDescriptorsByClass(Class<T> type, ComponentConditionalContext context, Qualifier<T> qualifier)
Finds allComponentDescriptor
registered for the specified type.<T> Collection<ComponentDescriptor<T>>
DefaultComponentFactory. findAllDescriptorsByClass(Class<T> type, Qualifier<T> qualifier)
Finds allComponentDescriptor
registered for the specified type.<T> Optional<ComponentDescriptor<T>>
DefaultComponentFactory. findDescriptorByAlias(String alias)
Finds aComponentDescriptor
for the specified type.<T> Optional<ComponentDescriptor<T>>
DefaultComponentFactory. findDescriptorByAlias(String alias, ComponentConditionalContext context)
Finds aComponentDescriptor
for the specified type.<T> Optional<ComponentDescriptor<T>>
DefaultComponentFactory. findDescriptorByAlias(String alias, ComponentConditionalContext context, Qualifier<T> qualifier)
Finds aComponentDescriptor
for the specified type and options.<T> Optional<ComponentDescriptor<T>>
DefaultComponentFactory. findDescriptorByAlias(String alias, Qualifier<T> qualifier)
Finds aComponentDescriptor
for the specified type and options.<T> Optional<ComponentDescriptor<T>>
DefaultComponentFactory. findDescriptorByClass(Class<T> type)
Finds aComponentDescriptor
for the specified type.<T> Optional<ComponentDescriptor<T>>
DefaultComponentFactory. findDescriptorByClass(Class<T> type, ComponentConditionalContext context)
Finds aComponentDescriptor
for the specified type.<T> Optional<ComponentDescriptor<T>>
DefaultComponentFactory. findDescriptorByClass(Class<T> type, ComponentConditionalContext context, Qualifier<T> qualifier)
Finds aComponentDescriptor
for the specified type and options.<T> Optional<ComponentDescriptor<T>>
DefaultComponentFactory. findDescriptorByClass(Class<T> type, Qualifier<T> qualifier)
Finds aComponentDescriptor
for the specified type and options.Methods in io.streamthoughts.azkarra.runtime.components with parameters of type ComponentDescriptor Modifier and Type Method Description static <T> ComponentDescriptorBuilder<T>
ComponentDescriptorBuilder. create(ComponentDescriptor<T> descriptor)
Static helper method for creating a newComponentDescriptorBuilder
instance.Set<String>
ClassComponentAliasesGenerator. getAliasesFor(ComponentDescriptor descriptor, Collection<? extends ComponentDescriptor> allDescriptors)
Gets unique aliases for the specifiedSimpleComponentDescriptor
descriptor.<T> void
DefaultComponentFactory. registerDescriptor(ComponentDescriptor<T> descriptor)
Registers the specifiedComponentDescriptor
to thisComponentRegistry
.Method parameters in io.streamthoughts.azkarra.runtime.components with type arguments of type ComponentDescriptor Modifier and Type Method Description Set<String>
ClassComponentAliasesGenerator. getAliasesFor(ComponentDescriptor descriptor, Collection<? extends ComponentDescriptor> allDescriptors)
Gets unique aliases for the specifiedSimpleComponentDescriptor
descriptor. -
Uses of ComponentDescriptor in io.streamthoughts.azkarra.runtime.components.condition
Methods in io.streamthoughts.azkarra.runtime.components.condition with parameters of type ComponentDescriptor Modifier and Type Method Description boolean
ConfigConditionalContext. isEnable(ComponentFactory factory, ComponentDescriptor<T> descriptor)
Verify if this component is enabled for the given context. -
Uses of ComponentDescriptor in io.streamthoughts.azkarra.runtime.context.internal
Constructors in io.streamthoughts.azkarra.runtime.context.internal with parameters of type ComponentDescriptor Constructor Description ContextAwareTopologySupplier(AzkarraContext context, ComponentDescriptor<TopologyProvider> descriptor)
Creates a newContextAwareTopologySupplier
instance.
-