Package io.micronaut.coherence
Class SerializerFactories
java.lang.Object
io.micronaut.coherence.SerializerFactories
A factory for Coherence
Serializer
beans.- Since:
- 1.0
- Author:
- Jonathan Knight
-
Constructor Summary
ConstructorDescriptionSerializerFactories
(com.tangosol.net.Cluster cluster) Creates a newSerializerFactories
based on the providedCluster
. -
Method Summary
Modifier and TypeMethodDescriptioncom.tangosol.io.Serializer
A factory method to produce the default JavaSerializer
.com.tangosol.io.Serializer
A factory method to produce the default JavaSerializer
.
-
Constructor Details
-
SerializerFactories
@Inject public SerializerFactories(com.tangosol.net.Cluster cluster) Creates a newSerializerFactories
based on the providedCluster
.- Parameters:
cluster
- theCoherence
Cluster
-
-
Method Details
-
defaultSerializer
@Named("java") @Singleton public com.tangosol.io.Serializer defaultSerializer()A factory method to produce the default JavaSerializer
.- Returns:
- the default Java
Serializer
-
pofSerializer
@Named("pof") @Singleton public com.tangosol.io.Serializer pofSerializer()A factory method to produce the default JavaSerializer
.- Returns:
- the default Java
Serializer
-