Commit Graph

309 Commits

Author SHA1 Message Date
John Blum
f6ccc09c23 Added support to the SpringContextBootstrappingInitializer class for component scanning given a set of base packages to scan. Refactored LazyWiringDeclarableSupport to implement the DisposableBean interface in order for any extending bean component to unregister itself from the SpringContextBootstrappingInitializer to stop receiving ApplicationContext event notifications when destroyed. Fully tested the application component scanning and configuration using Annotations and JavaConfig-based configuration, uplifting some of the application components (UserDao, UserService, etc) from the integration test and adding a UserApplicationConfiguration @Configuration component in order to test this functionlity properly. 2014-03-25 11:04:31 -07:00
John Blum
ba84061b48 Completed all testing and interface/functional changes for SGF-248 - Bootstrapping a Spring ApplicationContext with GemFire. 2014-03-25 11:04:10 -07:00
John Blum
8e57cc05a3 Early solution for SGF-248 concerning bootstrapping a Spring ApplicationContext inside a GemFire Server-based JVM process when starting the GemFire Server from Gfsh. 2014-03-25 11:03:44 -07:00
John Blum
217732b7f7 Implements SGF-204 changing the default behavior or Region lookups. 2014-03-24 13:55:51 -07:00
John Blum
1594c5f062 Implements SGF-88 - Region Shortcuts; Implements SGF-257 - Strict types in the SDG XSD for Region data-policy and shortcut attributes; Fixes SGF-258 - missing data-policy attribute for Partitioned Regions; Fixes SGF-263 - ineffective application of disk-synchronous attribute setting on Region bean definitions defined with SDG XML namespace. 2014-03-21 00:35:32 -07:00
John Blum
942c5ca7be Added specific Spring Converter implementations for GemFire RegionShortcut and ClientRegionShortcut enumerated value classes. 2014-03-21 00:35:31 -07:00
John Blum
984df1b9d4 Refactored RegionFactoryBean and ParsingUtils classes to simplify the code. Specifically, simplified the logic in the parseExpiration and parseCustomExpiration methods while preserving functional behavior. 2014-03-21 00:35:31 -07:00
John Blum
c5a33d6fef Completes JIRA ticket SGF-204 changing the default behavior of peer and client Region types to not perform a lookup first of an existing Region of the same name/path if the Region was created and configured using native cache.xml in GemFire in addition Spring config. 2014-03-11 21:19:10 -07:00
John Blum
36de58ccd7 Implements JIRA ticket SGF-261 allowing an application domain object, or rather entity to be persisted to multiple Regions in the GemFire Cache. 2014-03-06 13:23:15 -08:00
Pid
5f98eb66b5 Add support for marking a repository with @Region rather than the entity 2014-03-06 13:22:49 -08:00
John Blum
2656a25056 Fixes JIRA issue SGF-259 involving circular dependencies between an Async Event Queue and corresponding, registered Async Event Listener. 2014-02-27 22:36:58 -08:00
John Blum
bc7e284fbc Fixes JIRA issue SGF-255 involving the required 'threshold' attribute in Region Eviction Attribute configuration settings. 2014-02-24 20:16:27 -08:00
John Blum
65ae4b87fe Fixes JIRA issus SGF-252 involving multiple, identically names Subregions and SDG's Repository extension improperly handling application domain objects associated by way of the @Region annotation. 2014-02-06 17:40:24 -08:00
John Blum
5660a78255 Fixes JIRA issues SGF-251 involving Spring Data GemFire Repositories not functionality properly for application domain objects (entities) stored in GemFire Subregions using the @Region annotation association. 2014-02-04 18:36:42 -08:00
John Blum
6e0bf24706 Fixes JIRA issues SGF-249 involving property placeholder values on Disk Store bean definition attributes, and specifically the compaction-threshold attribute, in the SDG XML namespace. 2014-01-28 17:27:27 -08:00
John Blum
d8dc9d4edb Fully fixes JIRA issue SGF-236 involving the Subregion bean names requiring a prepended forward slash when using the high-level region XML namespace abstractions, like gfe:replicated-region, vs. the gfe:lookup-region element. 2014-01-21 18:27:22 -08:00
John Blum
8ee149e6e4 Partial Fix and Refactoring for JIRA issue SGF-236 enabling the <gfe:lookup-region/> nested element syntax to function properly. 2014-01-21 13:09:02 -08:00
John Blum
cd8b1b24ca Fixed JIRA issue SGF-247 - boolean-based Repository queries generate UnsupportedOperationException. 2014-01-17 20:45:23 -08:00
John Blum
8dee6f7ab2 Fixes JIRA issues SGF-238, SGF-239 and SGF-240 involving jndi-binding cache settings. 2013-12-13 14:59:03 -08:00
John Blum
bb97756f8d Fixes JIRA issue SGF-241 adding support for defining client sub-Regions using the gfe:client-region XML namespace element in an nested fashion. 2013-12-09 10:50:16 -08:00
John Blum
101d977026 Fixes bug SGF-225 involving GemFire SubRegion bean definition inconsistencies when data-policy is specified along with SGF-242 that involves the use of membership-attributes configuration on a GemFire Region. 2013-12-06 16:17:07 -08:00
John Blum
bccf918b72 General code refactoring and cleanup. 2013-12-02 15:55:26 -08:00
John Blum
f8368c72e8 Resolves JIRA issue SGF-235 fixing the NullPointerException in the DefaultFunctionArgumentResolver when the FunctionContext.getArguments method has no arguments, or incorrectly returns a null value. 2013-11-21 20:58:05 -08:00
John Blum
f3b22622b1 Fixes JIRA issues SGF-230 and SGF-233 involving the persistence on a Async Event Queue or Gateway Sender when a logical Disk Store name has been specified, or the disk-synchronous attribute has been set, requiring persistence to be enabled when all the user wanted was overflow. 2013-11-16 14:01:59 -08:00
John Blum
2897b07ab0 Fixes JIRA issue SGF-232 - user is unable to specify Order Policy with a Serial Async Event Queue. Plus, made additional changes to the GatewaySenderFactoryBean class and associated tests/code for SGF-231. 2013-11-16 11:58:24 -08:00
John Blum
7994fdddbd Fixes JIRA issue SGF-231 - user is unable to specify Order Policy with Serial Gateway Senders. 2013-11-15 23:13:43 -08:00
John Blum
ac5527ba52 General code refactoring and cleanup. 2013-11-11 12:59:40 -08:00
John Blum
ffadfc6cb2 Fixed JIRA issues SGF-219, SGF-220 and SGF-221 involving registering CacheListeners and adding Async Event Queues and Gateway Senders to GemFire Sub-Regions. 2013-11-08 16:53:35 -08:00
John Blum
1aea354e26 Merge branch 'SGF-216' of https://github.com/dturanski/spring-data-gemfire into dturanski-sgf216 2013-11-07 13:30:07 -08:00
John Blum
645f1e949b Merge branch 'sgf217-218' of https://github.com/jxblum/spring-data-gemfire into jxblum-sgf217-218 2013-11-07 13:25:17 -08:00
John Blum
f7ead2f7c5 Fixes JIRA issues SGF-217 involving the use of a Disk Store for overflow on a client subscription queue with a GemFire Cache Server, which was not properly referenced by the Disk Store's 'name'. In addition, fixes JIRA issues SGF-218 involving the improper configuration of the Eviction Policy for a Cache Server's Client Subscription Queue when overflow occurs. 2013-11-07 13:08:56 -08:00
David Turanski
40c68e4951 SGF-216: Fixed bug in FunctionContextInjectingArgumentResolver 2013-11-07 10:24:00 -05:00
John Blum
aed55a1a2a Fixes JIRA issue SGF-198 involving a BeanCurrentlyInCreationException when an AsyncEventListener is defined for any AsyncEventQueue and Spring Data GemFire injects the listener into the constructor of the AsyncEventQueueFactoryBean and the AsyncEventListener is using constructor injection to some other arbitrary bean dependency in the Spring application context. 2013-11-06 15:56:58 -08:00
John Blum
a602254e21 Refactored the logic in the CacheParser adding the PdxDiskStoreAwareBeanFactoryPostProcessor to the ApplicationContext by registering the PdxDiskStoreAwareBeanFactoryPostProcessor as a BeanDefinition in the BeanDefinitionRegistry (ConfigurableApplicationContext). 2013-11-01 15:07:40 -07:00
John Blum
415f23216f Additional refactoring to the PdxDiskStoreAwareBeanFactoryPostProcessor class based on code review by David Turnaski in PR #31 for JIRA issue SGF-197. 2013-11-01 14:14:39 -07:00
John Blum
20f24aa3b0 Changes to the PdxDiskStoreAwareBeanFactoryPostProcessor class based on code review by David Turnaski in PR #31 for JIRA issue SGF-197. 2013-11-01 14:14:38 -07:00
John Blum
fd35006c5e Fixed JIRA issue SGF-197 involving bean ordering issues when GemFire is configured with a PDX persistent Disk Store and persistent Regions contain data (keys) based on PDX types. 2013-11-01 14:14:38 -07:00
John Blum
e6e1573f0c Further refactoring to simplify the logic in the AbstractRegionParser.isSubRegion method. 2013-11-01 13:56:06 -07:00
John Blum
5766fa070d Minor refactoring to simplify the logic in the org.springframework.data.gemfire.config.AbstractRegionParser.isSubRegion(:Element) method. In addition, added test cases in the newly created AbstractRegionParserTest class. 2013-11-01 13:52:55 -07:00
David Turanski
5267cb8e05 Added null check to AbstractRegionParser to support Spring 4 Groovy BeanBuilder 2013-11-01 14:20:09 -04:00
John Blum
8eadc51010 Added addition Javadoc comments and performed additional formatting/code organization. 2013-10-31 16:57:11 -07:00
John Blum
f1a2ab2666 Merged PR #33 to fix JIRA issue SGF-203 concerning persistence. 2013-10-31 16:41:32 -07:00
David Turanski
9a21b87b16 SGF-214 made GemfireOnMembersFunctionTemplate constructors public 2013-10-30 16:38:22 -04:00
John Blum
0f819f2e04 Code changes based on code review by David Turanski in PR #33 for JIRA issue SGF-203 concerning persistence. 2013-10-30 13:34:53 -07:00
John Blum
339393b794 Additional fixes for SGF-203 involving the persistent, data-policy and shortcut attributes of client Regions. 2013-10-28 21:21:13 -07:00
John Blum
ff6c121d29 Fixes JIRA issue SGF-203 involving the <gfe:*-region/> element's persistent, data-policy, and for client Regions, shortcut attributes. 2013-10-25 15:44:14 -07:00
John Blum
4ed76947d0 Implemented SGF-206 - CacheLoader and CacheWriter support on client, local Regions in a GemFire ClientCache. Also, performed additional refactoring of related code. 2013-10-23 14:23:20 -07:00
John Blum
c34adc9f6a Refactored the DataPolicyConverter for basic code cleanup and added a value to the Policy enum for PARTITION. Added additional test cases in the corresponding test class. Refactored the resolveDataPolicy method in the RegionFactoryBean making use of helper methods. 2013-10-18 14:23:35 -07:00
John Blum
015b25f117 Merged pull request #29 from dturanski/SGF-194, fixing JIRA issue SGF-194 involving nested Regions (GemFire Sub-Regions). Performed post pull request cleanup based on code review. Added the setHostnameForClients method without the @Override annotation to the StubGatewayReceiverFactory test object based on the latest 7.0.1 GemFire artifact. 2013-10-07 18:42:45 -07:00
David Turanski
651f89662c SGF-194 Rewrote Subregion parsing in AbstractRegionParser 2013-10-01 08:45:08 -04:00