Class SerializerFactories

java.lang.Object
io.micronaut.coherence.SerializerFactories

@Factory public class SerializerFactories extends Object
A factory for Coherence Serializer beans.
Since:
1.0
Author:
Jonathan Knight
  • Constructor Details

    • SerializerFactories

      @Inject public SerializerFactories(com.tangosol.net.Cluster cluster)
      Creates a new SerializerFactories based on the provided Cluster.
      Parameters:
      cluster - the Coherence Cluster
  • Method Details

    • defaultSerializer

      @Named("java") @Singleton public com.tangosol.io.Serializer defaultSerializer()
      A factory method to produce the default Java Serializer.
      Returns:
      the default Java Serializer
    • pofSerializer

      @Named("pof") @Singleton public com.tangosol.io.Serializer pofSerializer()
      A factory method to produce the default Java Serializer.
      Returns:
      the default Java Serializer