Class ContextAwareGettableComponentSupplier<T>
- java.lang.Object
-
- io.streamthoughts.azkarra.api.config.ConfigurableSupplier<T>
-
- io.streamthoughts.azkarra.runtime.context.internal.ContextAwareComponentSupplier<T>
-
- io.streamthoughts.azkarra.runtime.context.internal.ContextAwareGettableComponentSupplier<T>
-
- Type Parameters:
T
- the component-type.
- All Implemented Interfaces:
Configurable
,Supplier<T>
- Direct Known Subclasses:
ContextAwareApplicationIdBuilderSupplier
,ContextAwareKafkaStreamsFactorySupplier
,ContextAwareLifecycleInterceptorSupplier
,ContextAwareThreadExceptionHandlerSupplier
public class ContextAwareGettableComponentSupplier<T> extends ContextAwareComponentSupplier<T>
Supplier class which is used to get a specific component fromAzkarraContext
.
-
-
Field Summary
-
Fields inherited from class io.streamthoughts.azkarra.runtime.context.internal.ContextAwareComponentSupplier
context
-
-
Constructor Summary
Constructors Constructor Description ContextAwareGettableComponentSupplier(AzkarraContext context, GettableComponent<T> gettable)
Creates a newContextAwareGettableComponentSupplier
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get(Conf configs)
-
Methods inherited from class io.streamthoughts.azkarra.api.config.ConfigurableSupplier
configure, get
-
-
-
-
Constructor Detail
-
ContextAwareGettableComponentSupplier
public ContextAwareGettableComponentSupplier(AzkarraContext context, GettableComponent<T> gettable)
Creates a newContextAwareGettableComponentSupplier
instance.- Parameters:
context
- theAzkarraContext
instance.gettable
- theGettableComponent
instance.
-
-
Method Detail
-
get
public T get(Conf configs)
- Specified by:
get
in classConfigurableSupplier<T>
-
-