@Target(value=TYPE) @Retention(value=RUNTIME) @Documented @Inherited @Import(value=FunctionExecutionBeanDefinitionRegistrar.class) public @interface EnableGemfireFunctionExecutions
Modifier and Type | Optional Element and Description |
---|---|
Class<?>[] |
basePackageClasses
Type-safe alternative to
basePackages() for specifying the packages to scan for annotated components. |
String[] |
basePackages
Base packages to scan for annotated components.
|
ComponentScan.Filter[] |
excludeFilters
Specifies which types are not eligible for component scanning.
|
ComponentScan.Filter[] |
includeFilters
Specifies which types are eligible for component scanning.
|
String[] |
value
Alias for the
basePackages() attribute. |
public abstract String[] value
basePackages()
attribute. Allows for more concise annotation declarations e.g.:
@EnableGemfireRepositories("org.my.pkg")
instead of
@EnableGemfireRepositories(basePackages="org.my.pkg")
.basePackages()
public abstract String[] basePackages
value()
is an alias for (and mutually exclusive with) this
attribute. Use basePackageClasses()
for a type-safe alternative to String-based package names.basePackageClasses()
public abstract Class<?>[] basePackageClasses
basePackages()
for specifying the packages to scan for annotated components.
The package of each class specified will be scanned. Consider creating a special no-op marker class or interface
in each package that serves no purpose other than being referenced by this attribute.basePackages()
public abstract ComponentScan.Filter[] includeFilters
basePackages()
to everything in the base packages that matches the given filter or filters.ComponentScan.Filter
public abstract ComponentScan.Filter[] excludeFilters
ComponentScan.Filter
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.