public final class SerializerDetails
extends java.lang.Object
create(java.lang.String, akka.serialization.Serializer, java.util.List<java.lang.Class<?>>)
or apply(java.lang.String, akka.serialization.Serializer, scala.collection.immutable.Seq<java.lang.Class<?>>)
to constructModifier and Type | Method and Description |
---|---|
java.lang.String |
alias() |
static 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
|
static 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
|
Serializer |
serializer() |
scala.collection.immutable.Seq<java.lang.Class<?>> |
useFor() |
public static SerializerDetails apply(java.lang.String alias, Serializer serializer, scala.collection.immutable.Seq<java.lang.Class<?>> useFor)
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.serializer
- (undocumented)public static SerializerDetails create(java.lang.String alias, Serializer serializer, java.util.List<java.lang.Class<?>> useFor)
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.serializer
- (undocumented)public java.lang.String alias()
public Serializer serializer()
public scala.collection.immutable.Seq<java.lang.Class<?>> useFor()