Class AnnotationFunctionExecutionConfigurationSource
java.lang.Object
org.springframework.data.gemfire.function.config.AbstractFunctionExecutionConfigurationSource
org.springframework.data.gemfire.function.config.AnnotationFunctionExecutionConfigurationSource
- All Implemented Interfaces:
FunctionExecutionConfigurationSource
public class AnnotationFunctionExecutionConfigurationSource
extends AbstractFunctionExecutionConfigurationSource
Annotation based configuration source for
Function
Executions
.- See Also:
-
Annotation
Execution
Function
EnableGemfireFunctionExecutions
-
Field Summary
Fields inherited from class org.springframework.data.gemfire.function.config.AbstractFunctionExecutionConfigurationSource
logger
-
Constructor Summary
ConstructorDescriptionAnnotationFunctionExecutionConfigurationSource
(org.springframework.core.type.AnnotationMetadata metadata) Constructs a new instance ofAnnotationFunctionExecutionConfigurationSource
from the givenAnnotationMetadata
andEnableGemfireFunctionExecutions
annotation. -
Method Summary
Modifier and TypeMethodDescriptionReturns the base packages the repository interfaces shall be found under.Iterable<org.springframework.core.type.filter.TypeFilter>
Returns configuredTypeFilter
sIterable<org.springframework.core.type.filter.TypeFilter>
Returns configuredTypeFilter
sReturns the actual source object that the configuration originated from.Methods inherited from class org.springframework.data.gemfire.function.config.AbstractFunctionExecutionConfigurationSource
getCandidates, getFunctionExecutionAnnotationTypeNames, getFunctionExecutionAnnotationTypes
-
Constructor Details
-
AnnotationFunctionExecutionConfigurationSource
public AnnotationFunctionExecutionConfigurationSource(@NonNull org.springframework.core.type.AnnotationMetadata metadata) Constructs a new instance ofAnnotationFunctionExecutionConfigurationSource
from the givenAnnotationMetadata
andEnableGemfireFunctionExecutions
annotation.- Parameters:
metadata
-AnnotationMetadata
for theEnableGemfireFunctionExecutions
annotation; must not be null.- See Also:
-
AnnotationMetadata
-
-
Method Details
-
getSource
Description copied from interface:FunctionExecutionConfigurationSource
Returns the actual source object that the configuration originated from. Will be used by the tooling to give visual feedback on where the repository instances actually come from.- Returns:
- must not be null.
-
getBasePackages
Description copied from interface:FunctionExecutionConfigurationSource
Returns the base packages the repository interfaces shall be found under.- Returns:
- must not be null.
-
getIncludeFilters
Description copied from interface:FunctionExecutionConfigurationSource
Returns configuredTypeFilter
s- Returns:
- include filters
-
getExcludeFilters
Description copied from interface:FunctionExecutionConfigurationSource
Returns configuredTypeFilter
s- Returns:
- exclude filters
-