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