@Singleton public class JacksonSerializerFactory extends Object implements SerializerFactory
DEFAULT, JACKSON| Constructor and Description |
|---|
JacksonSerializerFactory(akka.actor.ActorSystem system) |
JacksonSerializerFactory(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
For testing purposes
|
| Modifier and Type | Method and Description |
|---|---|
<MessageEntity> |
messageSerializerFor(Type type)
Get a message serializer for the given type.
|
@Inject public JacksonSerializerFactory(akka.actor.ActorSystem system)
public JacksonSerializerFactory(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public <MessageEntity> StrictMessageSerializer<MessageEntity> messageSerializerFor(Type type)
SerializerFactorymessageSerializerFor in interface SerializerFactorytype - The type to get a message serializer for.