public interface SerializationProvider extends Service
Note: Providers are encouraged to offer a backward and forward compatible protocol.
Implementors are encouraged to implement a descriptive toString()
method for logging purposes.
Modifier and Type | Method and Description |
---|---|
Deserializer |
getDeserializer()
This method will be invoked when any thread needs a Deserializer:
implementors of this Service can return the same instance multiple
times if the Deserializer implementation is threadsafe.
|
Serializer |
getSerializer()
This method will be invoked when any thread needs a Serializer:
implementors of this Service can return the same instance multiple
times if the Serializer implementation is threadsafe.
|
Serializer getSerializer()
Deserializer getDeserializer()
Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved