Package io.micronaut.coherence
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.tangosol.io.Serializer
A factory method to produce the default JavaSerializer
.
-
Constructor Details
-
JsonSerializerFactory
public JsonSerializerFactory()
-
-
Method Details
-
defaultSerializer
@Named("json") @Singleton public com.tangosol.io.Serializer defaultSerializer()A factory method to produce the default JavaSerializer
.- Returns:
- the default Java
Serializer
-