SGF-538 - Reorganize the XML configuration classes and support in SDG.
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:gfe="http://www.springframework.org/schema/gemfire"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
|
||||
">
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">CreateDefinedIndexesIntegrationTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
</util:properties>
|
||||
|
||||
<bean class="org.springframework.data.gemfire.config.CreateDefinedIndexesIntegrationTest$IndexBeanPostProcessor"/>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
<gfe:partitioned-region id="People" persistent="false" key-constraint="java.lang.Long"
|
||||
value-constraint="org.springframework.data.gemfire.config.CreateDefinedIndexesIntegrationTest$Person"/>
|
||||
|
||||
<gfe:index id="IdIdx" define="true" expression="id" from="/People" type="KEY"/>
|
||||
|
||||
<gfe:index id="BirthDateIdx" define="true" expression="birthDate" from="/People" type="HASH"/>
|
||||
|
||||
<gfe:index id="FullNameIdx" define="true" expression="fullName" from="/People" type="FUNCTIONAL"/>
|
||||
|
||||
<gfe:index id="LastNameIdx" expression="lastName" from="/People" type="HASH"/>
|
||||
|
||||
</beans>
|
||||
@@ -1,33 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:gfe="http://www.springframework.org/schema/gemfire"
|
||||
xmlns:util="http://www.springframework.org/schema/util"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="
|
||||
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
||||
http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire.xsd
|
||||
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
|
||||
">
|
||||
|
||||
<util:properties id="gemfireProperties">
|
||||
<prop key="name">DiskStoreBeanPostProcessorTest</prop>
|
||||
<prop key="mcast-port">0</prop>
|
||||
<prop key="log-level">warning</prop>
|
||||
</util:properties>
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
<gfe:disk-store id="DiskStoreOne">
|
||||
<gfe:disk-dir location="./gemfire/disk-stores/ds1"/>
|
||||
</gfe:disk-store>
|
||||
|
||||
<gfe:disk-store id="DiskStoreTwo">
|
||||
<gfe:disk-dir location="./gemfire/disk-stores/local/ds2"/>
|
||||
<gfe:disk-dir location="./gemfire/disk-stores/remote/ds2"/>
|
||||
</gfe:disk-store>
|
||||
|
||||
<gfe:disk-store id="DiskStoreThree">
|
||||
<gfe:disk-dir location="./gfe/ds/local/store3"/>
|
||||
</gfe:disk-store>
|
||||
|
||||
</beans>
|
||||
@@ -24,14 +24,14 @@
|
||||
<gfe:disk-dir location="./gemfire/GatewayHubNamespaceTest/Gateway/Queue"/>
|
||||
</gfe:disk-store>
|
||||
|
||||
<bean name="ListenerTwo" class="org.springframework.data.gemfire.config.GatewayHubNamespaceTest.TestGatewayListener" p:name="ListenerTwo"/>
|
||||
<bean name="ListenerTwo" class="org.springframework.data.gemfire.config.xml.GatewayHubNamespaceTest.TestGatewayListener" p:name="ListenerTwo"/>
|
||||
|
||||
<gfe:gateway-hub id="TestGatewayHub" bind-address="localhost" manual-start="true" max-connections="125"
|
||||
max-time-between-pings="5000" port="45123" socket-buffer-size="16384" startup-policy="primary">
|
||||
<gfe:gateway gateway-id="gateway1" concurrency-level="8" order-policy="thread" socket-buffer-size="65536"
|
||||
socket-read-timeout="75000">
|
||||
<gfe:gateway-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.GatewayHubNamespaceTest.TestGatewayListener" p:name="ListenerOne"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.GatewayHubNamespaceTest.TestGatewayListener" p:name="ListenerOne"/>
|
||||
<ref bean="ListenerTwo"/>
|
||||
</gfe:gateway-listener>
|
||||
<gfe:gateway-queue alert-threshold="99" enable-batch-conflation="true" batch-size="3" batch-time-interval="10"
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<bean class="org.springframework.data.gemfire.test.GemfireTestBeanPostProcessor"/>
|
||||
|
||||
<bean id="Example" class="org.springframework.data.gemfire.config.InvalidRegionDefinitionUsingBeansNamespaceTest$TestRegionFactoryBean"
|
||||
<bean id="Example" class="org.springframework.data.gemfire.config.xml.InvalidRegionDefinitionUsingBeansNamespaceTest$TestRegionFactoryBean"
|
||||
p:cache-ref="gemfireCache" p:persistent="true">
|
||||
<property name="attributes">
|
||||
<bean class="org.springframework.data.gemfire.RegionAttributesFactoryBean" p:dataPolicy="REPLICATE"/>
|
||||
@@ -20,9 +20,9 @@
|
||||
|
||||
<gfe:replicated-region id="ReplicateExample" persistent="false">
|
||||
<gfe:custom-entry-tti>
|
||||
<bean class="org.springframework.data.gemfire.config.RegionExpirationAttributesNamespaceTest$TestCustomExpiry"
|
||||
<bean class="org.springframework.data.gemfire.config.xml.RegionExpirationAttributesNamespaceTest$TestCustomExpiry"
|
||||
p:name="One" p:timeout="60" p:action="#{T(com.gemstone.gemfire.cache.ExpirationAction).DESTROY}"/>
|
||||
<bean class="org.springframework.data.gemfire.config.RegionExpirationAttributesNamespaceTest$TestCustomExpiry"
|
||||
<bean class="org.springframework.data.gemfire.config.xml.RegionExpirationAttributesNamespaceTest$TestCustomExpiry"
|
||||
p:name="Two" p:timeout="120" p:action="#{T(com.gemstone.gemfire.cache.ExpirationAction).INVALIDATE}"/>
|
||||
</gfe:custom-entry-tti>
|
||||
</gfe:replicated-region>
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
<gfe:cache properties-ref="gemfireProperties"/>
|
||||
|
||||
<bean id="Example" class="org.springframework.data.gemfire.config.RegionDefinitionUsingBeansNamespaceTest$TestRegionFactoryBean"
|
||||
<bean id="Example" class="org.springframework.data.gemfire.config.xml.RegionDefinitionUsingBeansNamespaceTest$TestRegionFactoryBean"
|
||||
p:cache-ref="gemfireCache">
|
||||
<property name="attributes">
|
||||
<bean class="org.springframework.data.gemfire.RegionAttributesFactoryBean"
|
||||
@@ -32,7 +32,7 @@
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="AnotherExample" class="org.springframework.data.gemfire.config.RegionDefinitionUsingBeansNamespaceTest$TestRegionFactoryBean"
|
||||
<bean id="AnotherExample" class="org.springframework.data.gemfire.config.xml.RegionDefinitionUsingBeansNamespaceTest$TestRegionFactoryBean"
|
||||
p:cache-ref="gemfireCache" p:dataPolicy="PERSISTENT_PARTITION" p:persistent="true">
|
||||
<property name="attributes">
|
||||
<bean class="org.springframework.data.gemfire.RegionAttributesFactoryBean" p:dataPolicy="PARTITION">
|
||||
@@ -42,20 +42,20 @@
|
||||
<gfe:partitioned-region id="PartitionExample" persistent="false">
|
||||
<gfe:entry-ttl timeout="300" action="${expiration.action}"/>
|
||||
<gfe:custom-entry-tti>
|
||||
<bean class="org.springframework.data.gemfire.config.RegionExpirationAttributesNamespaceTest$TestCustomExpiry"
|
||||
<bean class="org.springframework.data.gemfire.config.xml.RegionExpirationAttributesNamespaceTest$TestCustomExpiry"
|
||||
p:name="PartitionCustomExpiry" p:timeout="120" p:action="#{T(com.gemstone.gemfire.cache.ExpirationAction).INVALIDATE}"/>
|
||||
</gfe:custom-entry-tti>
|
||||
</gfe:partitioned-region>
|
||||
|
||||
<gfe:local-region id="LocalExample" persistent="false">
|
||||
<gfe:custom-entry-ttl>
|
||||
<bean class="org.springframework.data.gemfire.config.RegionExpirationAttributesNamespaceTest$TestCustomExpiry"
|
||||
<bean class="org.springframework.data.gemfire.config.xml.RegionExpirationAttributesNamespaceTest$TestCustomExpiry"
|
||||
p:name="LocalTtlCustomExpiry" p:timeout="180" p:action="#{T(com.gemstone.gemfire.cache.ExpirationAction).LOCAL_DESTROY}"/>
|
||||
</gfe:custom-entry-ttl>
|
||||
<gfe:custom-entry-tti ref="LocalTtiCustomExpiry"/>
|
||||
</gfe:local-region>
|
||||
|
||||
<bean id="LocalTtiCustomExpiry" class="org.springframework.data.gemfire.config.RegionExpirationAttributesNamespaceTest$TestCustomExpiry">
|
||||
<bean id="LocalTtiCustomExpiry" class="org.springframework.data.gemfire.config.xml.RegionExpirationAttributesNamespaceTest$TestCustomExpiry">
|
||||
<property name="name" value="LocalTtiCustomExpiry"/>
|
||||
<property name="timeout" value="60"/>
|
||||
<property name="action" value="#{T(com.gemstone.gemfire.cache.ExpirationAction).LOCAL_INVALIDATE}"/>
|
||||
@@ -28,9 +28,9 @@
|
||||
disk-synchronous="false" initial-capacity="51" key-constraint="java.lang.Long"
|
||||
load-factor="0.85" persistent="false" statistics="true" value-constraint="java.lang.String">
|
||||
<gfe:cache-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateClientRegionNamespaceTest$TestCacheListener" p:name="X"/>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateClientRegionNamespaceTest$TestCacheListener" p:name="Y"/>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateClientRegionNamespaceTest$TestCacheListener" p:name="Z"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateClientRegionNamespaceTest$TestCacheListener" p:name="X"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateClientRegionNamespaceTest$TestCacheListener" p:name="Y"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateClientRegionNamespaceTest$TestCacheListener" p:name="Z"/>
|
||||
</gfe:cache-listener>
|
||||
<gfe:entry-ttl timeout="300" action="INVALIDATE"/>
|
||||
<gfe:entry-tti timeout="600" action="DESTROY"/>
|
||||
@@ -38,10 +38,10 @@
|
||||
|
||||
<gfe:client-region-template id="ClientRegionTemplate" concurrency-level="4" pool-name="ServerPool" template="BaseRegionTemplate">
|
||||
<gfe:cache-loader>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateClientRegionNamespaceTest$TestCacheLoader" p:name="A"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateClientRegionNamespaceTest$TestCacheLoader" p:name="A"/>
|
||||
</gfe:cache-loader>
|
||||
<gfe:cache-writer>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateClientRegionNamespaceTest$TestCacheWriter" p:name="B"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateClientRegionNamespaceTest$TestCacheWriter" p:name="B"/>
|
||||
</gfe:cache-writer>
|
||||
<!--
|
||||
<gfe:key-interest durable="false" result-policy="KEYS_VALUES" receive-values="true">
|
||||
@@ -58,7 +58,7 @@
|
||||
key-constraint="java.lang.Integer" value-constraint="java.lang.Object"
|
||||
template="ClientRegionTemplate">
|
||||
<gfe:cache-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateClientRegionNamespaceTest$TestCacheListener" p:name="XYZ"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateClientRegionNamespaceTest$TestCacheListener" p:name="XYZ"/>
|
||||
</gfe:cache-listener>
|
||||
<gfe:eviction type="ENTRY_COUNT" threshold="1024" action="OVERFLOW_TO_DISK"/>
|
||||
</gfe:client-region>
|
||||
@@ -25,7 +25,7 @@
|
||||
<gfe:partitioned-region-template id="PartitionRegionTemplate" copies="1" persistent="true" total-buckets="163"
|
||||
disk-store-ref="ExampleDataStore">
|
||||
<gfe:partition-resolver>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplatePersistentPartitionRegionNamespaceTest$TestPartitionResolver"
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplatePersistentPartitionRegionNamespaceTest$TestPartitionResolver"
|
||||
p:name="TestPartitionResolver"/>
|
||||
</gfe:partition-resolver>
|
||||
<gfe:eviction type="HEAP_PERCENTAGE" action="OVERFLOW_TO_DISK"/>
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
<gfe:async-event-queue id="TestAsyncEventQueue" persistent="true" parallel="true" dispatcher-threads="4">
|
||||
<gfe:async-event-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestAsyncEventListener"
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestAsyncEventListener"
|
||||
p:name="AEL"/>
|
||||
</gfe:async-event-listener>
|
||||
</gfe:async-event-queue>
|
||||
@@ -33,9 +33,9 @@
|
||||
disk-synchronous="false" ignore-jta="true" initial-capacity="51" key-constraint="java.lang.Long"
|
||||
load-factor="0.85" persistent="false" statistics="true" value-constraint="java.lang.String">
|
||||
<gfe:cache-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestCacheListener" p:name="X"/>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestCacheListener" p:name="Y"/>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestCacheListener" p:name="Z"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestCacheListener" p:name="X"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestCacheListener" p:name="Y"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestCacheListener" p:name="Z"/>
|
||||
</gfe:cache-listener>
|
||||
<gfe:entry-ttl timeout="300" action="INVALIDATE"/>
|
||||
<gfe:entry-tti timeout="600" action="DESTROY"/>
|
||||
@@ -45,10 +45,10 @@
|
||||
index-update-type="asynchronous" key-constraint="java.lang.Integer" load-factor="0.55"
|
||||
template="BaseRegionTemplate">
|
||||
<gfe:cache-loader>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestCacheLoader" p:name="A"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestCacheLoader" p:name="A"/>
|
||||
</gfe:cache-loader>
|
||||
<gfe:cache-writer>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestCacheWriter" p:name="B"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestCacheWriter" p:name="B"/>
|
||||
</gfe:cache-writer>
|
||||
<gfe:membership-attributes required-roles="readWriteNode" loss-action="limited-access" resumption-action="none"/>
|
||||
</gfe:region-template>
|
||||
@@ -60,7 +60,7 @@
|
||||
key-constraint="java.lang.String" persistent="true" scope="distributed-ack"
|
||||
value-constraint="java.lang.Object" template="BaseRegionTemplate">
|
||||
<gfe:cache-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestCacheListener" p:name="XYZ"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestCacheListener" p:name="XYZ"/>
|
||||
</gfe:cache-listener>
|
||||
<gfe:subscription type="CACHE_CONTENT"/>
|
||||
<gfe:eviction threshold="2024" type="ENTRY_COUNT"/>
|
||||
@@ -69,25 +69,25 @@
|
||||
<gfe:replicated-region id="NonTemplateBasedReplicateRegion" persistent="false" load-factor="0.65" initial-capacity="97"
|
||||
concurrency-level="12">
|
||||
<gfe:cache-loader>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestCacheLoader" p:name="ABC"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestCacheLoader" p:name="ABC"/>
|
||||
</gfe:cache-loader>
|
||||
<gfe:cache-writer>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestCacheWriter" p:name="DEF"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestCacheWriter" p:name="DEF"/>
|
||||
</gfe:cache-writer>
|
||||
</gfe:replicated-region>
|
||||
|
||||
<gfe:replicated-region id="TemplateBasedReplicateRegion" persistent="false" is-lock-grantor="true" scope="global"
|
||||
template="ReplicateRegionTemplate">
|
||||
<gfe:cache-loader>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestCacheLoader" p:name="dbLoader"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestCacheLoader" p:name="dbLoader"/>
|
||||
</gfe:cache-loader>
|
||||
<gfe:cache-writer>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestCacheWriter" p:name="dbWriter"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestCacheWriter" p:name="dbWriter"/>
|
||||
</gfe:cache-writer>
|
||||
<gfe:replicated-region name="TemplateBasedReplicateSubRegion" enable-async-conflation="true" load-factor="0.95"
|
||||
template="ExtendedRegionTemplate">
|
||||
<gfe:cache-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestCacheListener" p:name="testListener"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestCacheListener" p:name="testListener"/>
|
||||
</gfe:cache-listener>
|
||||
<gfe:entry-ttl timeout="600" action="DESTROY"/>
|
||||
</gfe:replicated-region>
|
||||
@@ -105,7 +105,7 @@
|
||||
<gfe:gateway-sender-ref bean="TestGatewaySender"/>
|
||||
<gfe:async-event-queue-ref bean="TestAsyncEventQueue"/>
|
||||
<gfe:partition-resolver>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestPartitionResolver" p:name="testResolver"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestPartitionResolver" p:name="testResolver"/>
|
||||
</gfe:partition-resolver>
|
||||
<gfe:eviction type="ENTRY_COUNT" threshold="8192000" action="OVERFLOW_TO_DISK"/>
|
||||
</gfe:partitioned-region-template>
|
||||
@@ -116,11 +116,11 @@
|
||||
total-buckets="91" disk-synchronous="true" enable-async-conflation="true" ignore-jta="false"
|
||||
key-constraint="java.util.Date" persistent="true" template="PartitionRegionTemplate">
|
||||
<gfe:cache-writer>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestCacheWriter" p:name="dbWriter"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestCacheWriter" p:name="dbWriter"/>
|
||||
</gfe:cache-writer>
|
||||
<gfe:membership-attributes required-roles="admin,root,supertool" loss-action="no-access" resumption-action="reinitialize"/>
|
||||
<gfe:partition-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.TemplateRegionsNamespaceTests$TestPartitionListener" p:name="testListener"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.TemplateRegionsNamespaceTests$TestPartitionListener" p:name="testListener"/>
|
||||
</gfe:partition-listener>
|
||||
<gfe:subscription type="ALL"/>
|
||||
</gfe:partitioned-region>
|
||||
@@ -25,7 +25,7 @@
|
||||
|
||||
<gfe:cache id="cache-with-gateway-conflict-resolver" properties-ref="gemfireProperties">
|
||||
<gfe:gateway-conflict-resolver>
|
||||
<bean class="org.springframework.data.gemfire.config.CacheNamespaceTest.TestGatewayConflictResolver"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.CacheNamespaceTest.TestGatewayConflictResolver"/>
|
||||
</gfe:gateway-conflict-resolver>
|
||||
</gfe:cache>
|
||||
|
||||
@@ -58,10 +58,10 @@
|
||||
|
||||
<gfe:client-region id="loadWithWrite" name="LoadedFullOfWrites" shortcut="LOCAL">
|
||||
<gfe:cache-loader>
|
||||
<bean class="org.springframework.data.gemfire.config.ClientRegionNamespaceTest$TestCacheLoader"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.ClientRegionNamespaceTest$TestCacheLoader"/>
|
||||
</gfe:cache-loader>
|
||||
<gfe:cache-writer>
|
||||
<bean class="org.springframework.data.gemfire.config.ClientRegionNamespaceTest$TestCacheWriter"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.ClientRegionNamespaceTest$TestCacheWriter"/>
|
||||
</gfe:cache-writer>
|
||||
</gfe:client-region>
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
shortcut="CACHING_PROXY"
|
||||
value-constraint="java.lang.String"/>
|
||||
|
||||
<bean id="mockCache" class="org.springframework.data.gemfire.config.ClientRegionNamespaceTest$MockCacheFactoryBean"/>
|
||||
<bean id="mockCache" class="org.springframework.data.gemfire.config.xml.ClientRegionNamespaceTest$MockCacheFactoryBean"/>
|
||||
|
||||
<gfe:client-region id="client-with-interests" ignore-if-exists="true" shortcut="PROXY" cache-ref="mockCache">
|
||||
<gfe:key-interest durable="${client.interests.durable}" receive-values="${client.interests.receive-values}"
|
||||
@@ -96,6 +96,6 @@
|
||||
</gfe:client-region>
|
||||
|
||||
<bean id="c-listener" class="org.springframework.data.gemfire.SimpleCacheListener"/>
|
||||
<bean id="testCompressor" class="org.springframework.data.gemfire.config.ClientRegionNamespaceTest$TestCompressor" p:name="STD"/>
|
||||
<bean id="testCompressor" class="org.springframework.data.gemfire.config.xml.ClientRegionNamespaceTest$TestCompressor" p:name="STD"/>
|
||||
|
||||
</beans>
|
||||
@@ -77,14 +77,14 @@
|
||||
<gfe:entry-tti timeout="200" action="INVALIDATE"/>
|
||||
<gfe:eviction type="ENTRY_COUNT" threshold="50" action="OVERFLOW_TO_DISK"/>
|
||||
</gfe:replicated-region>
|
||||
|
||||
|
||||
<gfe:replicated-region id="replicated-data-custom-expiry" close="true" destroy="false">
|
||||
<gfe:custom-entry-ttl ref="customExpiry"/>
|
||||
<gfe:custom-entry-ttl ref="customExpiry"/>
|
||||
<gfe:custom-entry-tti>
|
||||
<bean class="org.springframework.data.gemfire.config.DiskStoreAndEvictionRegionParsingTest.TestCustomExpiry"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.DiskStoreAndEvictionRegionParsingTest.TestCustomExpiry"/>
|
||||
</gfe:custom-entry-tti>
|
||||
</gfe:replicated-region>
|
||||
|
||||
<bean id="customExpiry" class="org.springframework.data.gemfire.config.DiskStoreAndEvictionRegionParsingTest.TestCustomExpiry"/>
|
||||
|
||||
<bean id="customExpiry" class="org.springframework.data.gemfire.config.xml.DiskStoreAndEvictionRegionParsingTest.TestCustomExpiry"/>
|
||||
|
||||
</beans>
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
<gfe:function-service>
|
||||
<gfe:function>
|
||||
<bean class="org.springframework.data.gemfire.config.FunctionServiceNamespaceTest.Function1"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.FunctionServiceNamespaceTest.Function1"/>
|
||||
<ref bean="function2"/>
|
||||
</gfe:function>
|
||||
</gfe:function-service>
|
||||
|
||||
<bean id="function2" class="org.springframework.data.gemfire.config.FunctionServiceNamespaceTest.Function2"/>
|
||||
<bean id="function2" class="org.springframework.data.gemfire.config.xml.FunctionServiceNamespaceTest.Function2"/>
|
||||
|
||||
</beans>
|
||||
@@ -22,9 +22,9 @@
|
||||
<gfe:gateway-hub id="gateway-hub" manual-start="true">
|
||||
<gfe:gateway gateway-id="gateway">
|
||||
<gfe:gateway-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.GemfireV6GatewayNamespaceTest.GatewayListener"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.GemfireV6GatewayNamespaceTest.GatewayListener"/>
|
||||
</gfe:gateway-listener>
|
||||
<gfe:gateway-queue maximum-queue-memory="5" batch-size="3"
|
||||
<gfe:gateway-queue maximum-queue-memory="5" batch-size="3"
|
||||
batch-time-interval="10" />
|
||||
</gfe:gateway>
|
||||
<gfe:gateway gateway-id="gateway2">
|
||||
@@ -36,5 +36,5 @@
|
||||
<!-- SGF-169 -->
|
||||
<gfe:gateway-hub id="uniDirectionalHub" manual-start="true" port="22222" startup-policy="none">
|
||||
</gfe:gateway-hub>
|
||||
|
||||
|
||||
</beans>
|
||||
@@ -34,10 +34,10 @@
|
||||
socket-buffer-size="16536"
|
||||
socket-read-timeout="3000">
|
||||
<gfe:event-filter>
|
||||
<bean class="org.springframework.data.gemfire.config.GemfireV7GatewayNamespaceTest.TestEventFilter"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.GemfireV7GatewayNamespaceTest.TestEventFilter"/>
|
||||
</gfe:event-filter>
|
||||
<gfe:transport-filter>
|
||||
<bean class="org.springframework.data.gemfire.config.GemfireV7GatewayNamespaceTest.TestTransportFilter"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.GemfireV7GatewayNamespaceTest.TestTransportFilter"/>
|
||||
</gfe:transport-filter>
|
||||
</gfe:gateway-sender>
|
||||
<gfe:gateway-sender-ref bean="gateway-sender"/>
|
||||
@@ -55,7 +55,7 @@
|
||||
persistent="true"
|
||||
order-policy="KEY">
|
||||
<gfe:async-event-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.GemfireV7GatewayNamespaceTest.TestAsyncEventListener"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.GemfireV7GatewayNamespaceTest.TestAsyncEventListener"/>
|
||||
</gfe:async-event-listener>
|
||||
</gfe:async-event-queue>
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<gfe:gateway-receiver id="gateway-receiver" bind-address="192.168.0.1" start-port="12345" end-port="23456"
|
||||
maximum-time-between-pings="3000" socket-buffer-size="16536">
|
||||
<gfe:transport-filter>
|
||||
<bean class="org.springframework.data.gemfire.config.GemfireV7GatewayNamespaceTest.TestTransportFilter"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.GemfireV7GatewayNamespaceTest.TestTransportFilter"/>
|
||||
</gfe:transport-filter>
|
||||
</gfe:gateway-receiver>
|
||||
|
||||
@@ -74,11 +74,11 @@
|
||||
manual-start="true">
|
||||
<gfe:event-filter>
|
||||
<ref bean="event-filter"/>
|
||||
<bean class="org.springframework.data.gemfire.config.GemfireV7GatewayNamespaceTest.TestEventFilter"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.GemfireV7GatewayNamespaceTest.TestEventFilter"/>
|
||||
</gfe:event-filter>
|
||||
<gfe:transport-filter>
|
||||
<ref bean="transport-filter"/>
|
||||
<bean class="org.springframework.data.gemfire.config.GemfireV7GatewayNamespaceTest.TestTransportFilter"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.GemfireV7GatewayNamespaceTest.TestTransportFilter"/>
|
||||
</gfe:transport-filter>
|
||||
</gfe:gateway-sender>
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
<gfe:transport-filter ref="transport-filter"/>
|
||||
</gfe:gateway-sender>
|
||||
|
||||
<bean id="event-filter" class="org.springframework.data.gemfire.config.GemfireV7GatewayNamespaceTest.TestEventFilter"/>
|
||||
<bean id="transport-filter" class="org.springframework.data.gemfire.config.GemfireV7GatewayNamespaceTest.TestTransportFilter"/>
|
||||
<bean id="event-filter" class="org.springframework.data.gemfire.config.xml.GemfireV7GatewayNamespaceTest.TestEventFilter"/>
|
||||
<bean id="transport-filter" class="org.springframework.data.gemfire.config.xml.GemfireV7GatewayNamespaceTest.TestTransportFilter"/>
|
||||
|
||||
</beans>
|
||||
@@ -21,7 +21,7 @@
|
||||
<gfe:gateway-sender id="gateway-sender-with-event-substitution-filter" remote-distributed-system-id="3"
|
||||
dispatcher-threads="10" parallel="true" manual-start="true">
|
||||
<gfe:event-substitution-filter>
|
||||
<bean class="org.springframework.data.gemfire.config.GemfireV8GatewayNamespaceTest$TestGatewayEventSubstitutionFilter" p:name="inner"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.GemfireV8GatewayNamespaceTest$TestGatewayEventSubstitutionFilter" p:name="inner"/>
|
||||
</gfe:event-substitution-filter>
|
||||
</gfe:gateway-sender>
|
||||
|
||||
@@ -30,6 +30,6 @@
|
||||
<gfe:event-substitution-filter ref="testGatewayEventSubstitutionFilter"/>
|
||||
</gfe:gateway-sender>
|
||||
|
||||
<bean id="testGatewayEventSubstitutionFilter" class="org.springframework.data.gemfire.config.GemfireV8GatewayNamespaceTest$TestGatewayEventSubstitutionFilter" p:name="ref"/>
|
||||
<bean id="testGatewayEventSubstitutionFilter" class="org.springframework.data.gemfire.config.xml.GemfireV8GatewayNamespaceTest$TestGatewayEventSubstitutionFilter" p:name="ref"/>
|
||||
|
||||
</beans>
|
||||
@@ -46,14 +46,14 @@
|
||||
|
||||
<gfe:local-region id="Compressed" persistent="false">
|
||||
<gfe:compressor>
|
||||
<bean class="org.springframework.data.gemfire.config.LocalRegionNamespaceTest$TestCompressor" p:name="ABC"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.LocalRegionNamespaceTest$TestCompressor" p:name="ABC"/>
|
||||
</gfe:compressor>
|
||||
</gfe:local-region>
|
||||
|
||||
<bean id="c-listener" class="org.springframework.data.gemfire.SimpleCacheListener"/>
|
||||
<bean id="c-loader" class="org.springframework.data.gemfire.SimpleCacheLoader"/>
|
||||
<bean id="c-writer" class="org.springframework.data.gemfire.SimpleCacheWriter"/>
|
||||
|
||||
|
||||
<gfe:lookup-region id="lookup" name="existing"/>
|
||||
|
||||
</beans>
|
||||
@@ -44,13 +44,13 @@
|
||||
<gfe:cache-loader ref="c-loader"/>
|
||||
<gfe:cache-writer ref="c-writer"/>
|
||||
<gfe:partition-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.PartitionedRegionNamespaceTest.TestPartitionListener"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.PartitionedRegionNamespaceTest.TestPartitionListener"/>
|
||||
</gfe:partition-listener>
|
||||
</gfe:partitioned-region>
|
||||
|
||||
<gfe:partitioned-region id="compressed" persistent="false">
|
||||
<gfe:compressor>
|
||||
<bean class="org.springframework.data.gemfire.config.PartitionedRegionNamespaceTest$TestCompressor" p:name="testCompressor"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.PartitionedRegionNamespaceTest$TestCompressor" p:name="testCompressor"/>
|
||||
</gfe:compressor>
|
||||
</gfe:partitioned-region>
|
||||
|
||||
@@ -62,9 +62,9 @@
|
||||
|
||||
<gfe:partitioned-region id="listeners" persistent="false">
|
||||
<gfe:partition-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.PartitionedRegionNamespaceTest$TestPartitionListener" p:name="X"/>
|
||||
<bean class="org.springframework.data.gemfire.config.PartitionedRegionNamespaceTest$TestPartitionListener" p:name="Y"/>
|
||||
<bean class="org.springframework.data.gemfire.config.PartitionedRegionNamespaceTest$TestPartitionListener" p:name="Z"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.PartitionedRegionNamespaceTest$TestPartitionListener" p:name="X"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.PartitionedRegionNamespaceTest$TestPartitionListener" p:name="Y"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.PartitionedRegionNamespaceTest$TestPartitionListener" p:name="Z"/>
|
||||
<ref bean="p-listener"/>
|
||||
</gfe:partition-listener>
|
||||
</gfe:partitioned-region>
|
||||
@@ -74,7 +74,7 @@
|
||||
</gfe:partitioned-region>
|
||||
|
||||
<bean id="c-listener" class="org.springframework.data.gemfire.SimpleCacheListener"/>
|
||||
<bean id="p-listener" class="org.springframework.data.gemfire.config.PartitionedRegionNamespaceTest$TestPartitionListener" p:name="ABC"/>
|
||||
<bean id="p-listener" class="org.springframework.data.gemfire.config.xml.PartitionedRegionNamespaceTest$TestPartitionListener" p:name="ABC"/>
|
||||
<bean id="c-loader" class="org.springframework.data.gemfire.SimpleCacheLoader"/>
|
||||
<bean id="c-writer" class="org.springframework.data.gemfire.SimpleCacheWriter"/>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
<gfe:compressor ref="testCompressor"/>
|
||||
</gfe:replicated-region>
|
||||
|
||||
<bean id="testCompressor" class="org.springframework.data.gemfire.config.ReplicatedRegionNamespaceTest$TestCompressor" p:name="XYZ"/>
|
||||
<bean id="testCompressor" class="org.springframework.data.gemfire.config.xml.ReplicatedRegionNamespaceTest$TestCompressor" p:name="XYZ"/>
|
||||
|
||||
<gfe:lookup-region id="lookup" name="existing"/>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<gfe:async-event-queue name="testQueue" maximum-queue-memory="50" parallel="false" dispatcher-threads="4"
|
||||
order-policy="KEY">
|
||||
<gfe:async-event-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.SubRegionSubElementNamespaceTest.TestNoOpAsyncEventListener"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.SubRegionSubElementNamespaceTest.TestNoOpAsyncEventListener"/>
|
||||
</gfe:async-event-listener>
|
||||
</gfe:async-event-queue>
|
||||
</gfe:replicated-region>
|
||||
@@ -31,7 +31,7 @@
|
||||
<gfe:replicated-region id="Customers" persistent="false">
|
||||
<gfe:replicated-region name="Accounts" persistent="false">
|
||||
<gfe:cache-listener>
|
||||
<bean class="org.springframework.data.gemfire.config.SubRegionSubElementNamespaceTest.TestNoOpCacheListener"/>
|
||||
<bean class="org.springframework.data.gemfire.config.xml.SubRegionSubElementNamespaceTest.TestNoOpCacheListener"/>
|
||||
</gfe:cache-listener>
|
||||
</gfe:replicated-region>
|
||||
</gfe:replicated-region>
|
||||
@@ -27,8 +27,8 @@
|
||||
<gfe:transaction-writer ref="txWriter"/>
|
||||
</gfe:client-cache>
|
||||
|
||||
<bean id="txListener1" class="org.springframework.data.gemfire.config.TxEventHandlersTest.TestListener"/>
|
||||
<bean id="txListener2" class="org.springframework.data.gemfire.config.TxEventHandlersTest.TestListener"/>
|
||||
<bean id="txWriter" class="org.springframework.data.gemfire.config.TxEventHandlersTest.TestWriter"/>
|
||||
<bean id="txListener1" class="org.springframework.data.gemfire.config.xml.TxEventHandlersTest.TestListener"/>
|
||||
<bean id="txListener2" class="org.springframework.data.gemfire.config.xml.TxEventHandlersTest.TestListener"/>
|
||||
<bean id="txWriter" class="org.springframework.data.gemfire.config.xml.TxEventHandlersTest.TestWriter"/>
|
||||
|
||||
</beans>
|
||||
Reference in New Issue
Block a user