+ more tests
+ small fixes
This commit is contained in:
Costin Leau
2011-08-25 18:56:08 +03:00
parent b4e2b4e92c
commit 07b3e97db3
2 changed files with 8 additions and 9 deletions

View File

@@ -149,10 +149,11 @@ public class CacheFactoryBean implements BeanNameAware, BeanFactoryAware, BeanCl
// load/init cache.xml
if (cacheXml != null) {
cache.loadCacheXml(cacheXml.getInputStream());
if (log.isDebugEnabled())
log.debug("Initialized cache from " + cacheXml);
}
if (log.isDebugEnabled())
log.debug("Initialized cache from " + cacheXml);
} finally {
th.setContextClassLoader(oldTCCL);

View File

@@ -5,11 +5,9 @@
xsi:schemaLocation="http://www.springframework.org/schema/gemfire http://www.springframework.org/schema/gemfire/spring-gemfire-1.1.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
<bean class="org.springframework.data.gemfire.client.ClientCacheFactoryBean">
<property name="poolName" value="pool"/>
</bean>
<gfe:pool id="pool">
<gfe:locator host="localhost" port="12345"/>
</gfe:pool>
<gfe:client-cache use-bean-factory-locator="false" pool-name="gemfire-pool"/>
<gfe:pool subscription-enabled="false">
<gfe:server host="localhost" port="40404"/>
</gfe:pool>
</beans>