Package akka.serialization.jackson
Class JacksonObjectMapperProviderSetup
- java.lang.Object
-
- akka.actor.setup.Setup
-
- akka.serialization.jackson.JacksonObjectMapperProviderSetup
-
public final class JacksonObjectMapperProviderSetup extends Setup
Setup for defining aJacksonObjectMapperProvider
that can be passed in when ActorSystem is created rather than creating one from configured class name. Create a subclass ofJacksonObjectMapperFactory
and override the methods to amend the defaults.
-
-
Constructor Summary
Constructors Constructor Description JacksonObjectMapperProviderSetup(JacksonObjectMapperFactory factory)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JacksonObjectMapperProviderSetup
apply(JacksonObjectMapperFactory factory)
Scala API: factory for defining aJacksonObjectMapperProvider
that is passed in when ActorSystem is created rather than creating one from configured class name.static JacksonObjectMapperProviderSetup
create(JacksonObjectMapperFactory factory)
Java API: factory for defining aJacksonObjectMapperProvider
that is passed in when ActorSystem is created rather than creating one from configured class name.JacksonObjectMapperFactory
factory()
-
-
-
Constructor Detail
-
JacksonObjectMapperProviderSetup
public JacksonObjectMapperProviderSetup(JacksonObjectMapperFactory factory)
-
-
Method Detail
-
apply
public static JacksonObjectMapperProviderSetup apply(JacksonObjectMapperFactory factory)
Scala API: factory for defining aJacksonObjectMapperProvider
that is passed in when ActorSystem is created rather than creating one from configured class name.
-
create
public static JacksonObjectMapperProviderSetup create(JacksonObjectMapperFactory factory)
Java API: factory for defining aJacksonObjectMapperProvider
that is passed in when ActorSystem is created rather than creating one from configured class name.
-
factory
public JacksonObjectMapperFactory factory()
-
-