org.axonframework.serializer.bson
Class DBObjectToStringContentTypeConverter
java.lang.Object
org.axonframework.serializer.AbstractContentTypeConverter<com.mongodb.DBObject,String>
org.axonframework.serializer.bson.DBObjectToStringContentTypeConverter
- All Implemented Interfaces:
- ContentTypeConverter<com.mongodb.DBObject,String>
public class DBObjectToStringContentTypeConverter
- extends AbstractContentTypeConverter<com.mongodb.DBObject,String>
ContentTypeConverter implementation that converts a DBObject structure into a String containing its Binary JSON
representation.
- Since:
- 2.0
- Author:
- Allard Buijze
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBObjectToStringContentTypeConverter
public DBObjectToStringContentTypeConverter()
expectedSourceType
public Class<com.mongodb.DBObject> expectedSourceType()
targetType
public Class<String> targetType()
convert
public String convert(com.mongodb.DBObject original)
Copyright © 2010-2013. All Rights Reserved.