Package org.apache.pekko.serialization
Class SerializerDetails
- java.lang.Object
-
- org.apache.pekko.serialization.SerializerDetails
-
public final class SerializerDetails extends java.lang.Object
Constructor is internal API: Use the factoriescreate(java.lang.String, org.apache.pekko.serialization.Serializer, java.util.List<java.lang.Class<?>>)
orapply(java.lang.String, org.apache.pekko.serialization.Serializer, scala.collection.immutable.Seq<java.lang.Class<?>>)
to construct
-
-
Constructor Summary
Constructors Constructor Description SerializerDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 serializerstatic SerializerDetails
create(java.lang.String alias, Serializer serializer, java.util.List<java.lang.Class<?>> useFor)
Java API: factory for details about one programmatically setup serializerSerializer
serializer()
scala.collection.immutable.Seq<java.lang.Class<?>>
useFor()
-
-
-
Method Detail
-
apply
public 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- 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 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- 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.
-
alias
public java.lang.String alias()
-
serializer
public Serializer serializer()
-
useFor
public scala.collection.immutable.Seq<java.lang.Class<?>> useFor()
-
-