spring-data-geode
spring-data-geode copied to clipboard
Create composed annotations from some of the common, logically related SDG annotations [DATAGEODE-365]
John Blum opened DATAGEODE-365 and commented
This development task will add new SDG annotations, such as:
@ManagingLocatorCacheServerApplication
Which will be meta-annotated with:
-
@CacheServerApplication -
@EnableLocator -
@EnableManager
And expose appropriate/common configuration attributes through aliasing.
Additionally, we will provide other "composed annotations", for example:
@EnablePersistentApplication
Which would be meta-annotated with:
-
@EnableEntityDefinedRegions -
@EnableGemfireRepositories -
@EnablePdx
No further details from DATAGEODE-365
John Blum commented
This would effectively simplify the following:
@CacheServerApplication
@EnableLocator
@EnableManager(start = true)
@EnableEntityDefinedRegions(basePackageClasses = NonEntityPointer.class)
@EnableGemfireRepositories(basePackageClasses = NonRepositoryPointer.class)
@EnablePdx
class MySpringGeodeApplicationConfiguration { ... }
To:
@ManagingLocatorCacheServerApplication(manager-start = true)
@EnablePersistentApplication(entityBasePackageClasses = ..., repositoryBasePackageClasses = ...)
class MySpringGeodeApplicationConfiguration { ... }
John Blum commented
Composed Annotation naming as well as which Composed Annotations we will provide OOTB is subject to feedback