Package akka.serialization
Class SerializerDetails$
- java.lang.Object
-
- akka.serialization.SerializerDetails$
-
public class SerializerDetails$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static SerializerDetails$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description SerializerDetails$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SerializerDetails
apply(java.lang.String alias, Serializer serializer, scala.collection.immutable.Seq<java.lang.Class<?>> useFor)
Scala API: factory for details about one programmatically setup serializerSerializerDetails
create(java.lang.String alias, Serializer serializer, java.util.List<java.lang.Class<?>> useFor)
Java API: factory for details about one programmatically setup serializer
-
-
-
Field Detail
-
MODULE$
public static final SerializerDetails$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public SerializerDetails apply(java.lang.String alias, Serializer serializer, scala.collection.immutable.Seq<java.lang.Class<?>> useFor)
Scala API: factory for details about one programmatically setup serializer- Parameters:
alias
- Register the serializer under this alias (this allows it to be used by bindings in the config)useFor
- A set of classes or superclasses to bind to the serializer, selection works just as if the classes, the alias and the serializer had been in the config.
-
create
public SerializerDetails create(java.lang.String alias, Serializer serializer, java.util.List<java.lang.Class<?>> useFor)
Java API: factory for details about one programmatically setup serializer- Parameters:
alias
- Register the serializer under this alias (this allows it to be used by bindings in the config)useFor
- A set of classes or superclasses to bind to the serializer, selection works just as if the classes, the alias and the serializer had been in the config.
-
-