DATACASS-91 - renamed mapping-converter XML element to converter

This commit is contained in:
Matthew Adams
2014-02-11 09:33:25 -06:00
parent 7b8cd2ab60
commit 0f121597f2
5 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ public class CassandraDataNamespaceHandler extends NamespaceHandlerSupport {
registerBeanDefinitionParser("cluster", new CassandraDataClusterParser());
registerBeanDefinitionParser("session", new CassandraDataSessionParser());
registerBeanDefinitionParser("template", new CassandraDataTemplateParser());
registerBeanDefinitionParser("mapping-converter", new CassandraMappingConverterParser());
registerBeanDefinitionParser("converter", new CassandraMappingConverterParser());
registerBeanDefinitionParser("mapping", new CassandraMappingContextParser());
}
}

View File

@@ -11,7 +11,7 @@ import org.springframework.util.StringUtils;
import org.w3c.dom.Element;
/**
* Spring Data Cassandra XML namespace parser for the <mapping-converter> element.
* Spring Data Cassandra XML namespace parser for the <converter> element.
*
* @author Matthew T. Adams
*/

View File

@@ -713,7 +713,7 @@ The comma-delimited base packages in which to scan for entities and their mappin
</xsd:complexType>
</xsd:element>
<xsd:element name="mapping-converter">
<xsd:element name="converter">
<xsd:annotation>
<xsd:documentation><![CDATA[
Defines a CassandraConverter for getting rich mapping functionality.

View File

@@ -28,7 +28,7 @@
<!-- TODO: not require that these beans be defined -->
<cass:mapping />
<cass:mapping-converter />
<cass:converter />
<cass:session keyspace-name="${cassandra.keyspace}"
schema-action="NONE" />

View File

@@ -10,7 +10,7 @@
<context:property-placeholder
location="classpath:/spring-data-cassandra-build.properties" />
<cass:mapping-converter />
<cass:converter />
<cass:template />