Class JsonSerializerFactory

java.lang.Object
io.micronaut.coherence.JsonSerializerFactory

@Factory @Requires(classes=com.oracle.coherence.io.json.JsonSerializer.class) public class JsonSerializerFactory extends Object
A factory that provides a JsonSerializer beans.

This factory is only enabled when the coherence-json module is on the classpath

Since:
1.0
Author:
Jonathan Knight
  • Constructor Details

    • JsonSerializerFactory

      public JsonSerializerFactory()
  • Method Details

    • defaultSerializer

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