A Service providing Serializer instances.
The CacheManager org.ehcache.spi.service.Servi
ceProvider obtains an instance of this Service prior to creating any Cache instances. Before creating each Cache instance, the CacheManager calls the #createKeySerializer(Class, ClassLoader, ServiceConfiguration) and #createValueSerializer(Class, ClassLoader, ServiceConfiguration) methods to obtain Serializer instances for the Cache, either through explicit configuration or from CacheManager level configuration.
Some Cache configurations make serialization mandatory. If serialization is mandatory, failure to return a Serializer from a SerializationProvider results in a Cache initialization failure. For a Cache in which serialization is not mandatory, failing to return a Serializer will not cause Cache initialization failure.