Class JacksonObjectMapperProvider$
java.lang.Object
org.apache.pekko.serialization.jackson.JacksonObjectMapperProvider$
- All Implemented Interfaces:
ExtensionId<JacksonObjectMapperProvider>,ExtensionIdProvider
public class JacksonObjectMapperProvider$
extends Object
implements ExtensionId<JacksonObjectMapperProvider>, ExtensionIdProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JacksonObjectMapperProvider$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.typesafe.config.ConfigconfigForBinding(String bindingName, com.typesafe.config.Config systemConfig) The configuration for a givenbindingName.createExtension(ExtendedActorSystem system) Is used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.com.fasterxml.jackson.databind.ObjectMappercreateObjectMapper(String bindingName, scala.Option<com.fasterxml.jackson.core.JsonFactory> jsonFactory, JacksonObjectMapperFactory objectMapperFactory, com.typesafe.config.Config config, DynamicAccess dynamicAccess, scala.Option<LoggingAdapter> log) get(ActorSystem system) Returns an instance of the extension identified by this ExtensionId instance.get(ClassicActorSystemProvider system) Returns an instance of the extension identified by this ExtensionId instance.lookup()Returns the canonical ExtensionId for this ExtensionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pekko.actor.ExtensionId
apply, apply, equals, hashCode
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
JacksonObjectMapperProvider$
public JacksonObjectMapperProvider$()
-
-
Method Details
-
get
Description copied from interface:ExtensionIdReturns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.override def get(system: ActorSystem): TheExtension = super.get(system)- Specified by:
getin interfaceExtensionId<JacksonObjectMapperProvider>
-
get
Description copied from interface:ExtensionIdReturns an instance of the extension identified by this ExtensionId instance. Java API For extensions written in Scala that are to be used from Java also, this method should be overridden to get correct return type.override def get(system: ClassicActorSystemProvider): TheExtension = super.get(system)- Specified by:
getin interfaceExtensionId<JacksonObjectMapperProvider>
-
lookup
Description copied from interface:ExtensionIdProviderReturns the canonical ExtensionId for this Extension- Specified by:
lookupin interfaceExtensionIdProvider
-
createExtension
Description copied from interface:ExtensionIdIs used by Pekko to instantiate the Extension identified by this ExtensionId, internal use only.- Specified by:
createExtensionin interfaceExtensionId<JacksonObjectMapperProvider>
-
configForBinding
public com.typesafe.config.Config configForBinding(String bindingName, com.typesafe.config.Config systemConfig) The configuration for a givenbindingName. -
createObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper createObjectMapper(String bindingName, scala.Option<com.fasterxml.jackson.core.JsonFactory> jsonFactory, JacksonObjectMapperFactory objectMapperFactory, com.typesafe.config.Config config, DynamicAccess dynamicAccess, scala.Option<LoggingAdapter> log) INTERNAL API: UseJacksonObjectMapperProvider.create(java.lang.String, scala.Option<com.fasterxml.jackson.core.JsonFactory>)This is needed by one test in Lagom where the ObjectMapper is created without starting and ActorSystem.
-