SGF-480 - Change default for use-bean-factory-locator to false.

This commit is contained in:
John Blum
2016-03-09 20:57:59 -08:00
parent 6dfd3e7082
commit 6bf5ceeaf6
5 changed files with 6 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ public class CacheFactoryBean implements BeanClassLoaderAware, BeanFactoryAware,
protected boolean close = true;
protected boolean lazyInitialize = true;
protected boolean useBeanFactoryLocator = true;
protected boolean useBeanFactoryLocator = false;
protected final Log log = LogFactory.getLog(getClass());

View File

@@ -141,7 +141,7 @@ For cases in which there are no declared dependencies on the cache, set this att
]]></xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="use-bean-factory-locator" type="xsd:string" use="optional" default="true">
<xsd:attribute name="use-bean-factory-locator" type="xsd:string" use="optional" default="false">
<xsd:annotation>
<xsd:documentation><![CDATA[
Indicates whether a bean factory locator is enabled (default) for this cache definition or not. The locator stores