T
- the type of the serialized objectpublic interface SerializerHook<T>
Serializer
s are supported
(StreamSerializer
and
ByteArraySerializer
).
It needs to be registered using a file called "com.hazelcast.SerializerHook"
in META-INF/services.
Those services files are not registered using the standard Java6+ java.util.ServiceLoader
but with a Hazelcast version that is capable of working with multiple class loaders
to support JEE and OSGi environments.Modifier and Type | Method and Description |
---|---|
Serializer |
createSerializer()
Creates a new serializer for the serialization type
|
Class<T> |
getSerializationType()
Returns the actual class type of the serialized object
|
boolean |
isOverwritable()
Defines if this serializer can be overridden by defining a custom
serializer in the configurations (codebase or configuration file)
|
Class<T> getSerializationType()
Serializer createSerializer()
boolean isOverwritable()
Copyright © 2023 Hazelcast, Inc.. All rights reserved.