org.ehcache.config.serializer
Class DefaultSerializationProviderConfiguration

java.lang.Object
  extended by org.ehcache.internal.classes.ClassInstanceProviderConfiguration<Serializer<?>>
      extended by org.ehcache.config.serializer.DefaultSerializationProviderConfiguration
All Implemented Interfaces:
ServiceConfiguration<SerializationProvider>

public class DefaultSerializationProviderConfiguration
extends ClassInstanceProviderConfiguration<Serializer<?>>
implements ServiceConfiguration<SerializationProvider>


Constructor Summary
DefaultSerializationProviderConfiguration()
           
 
Method Summary
<T> DefaultSerializationProviderConfiguration
addSerializerFor(java.lang.Class<T> serializableClass, java.lang.Class<? extends Serializer<T>> serializerClass)
           
 java.lang.Class<SerializationProvider> getServiceType()
          Indicates which service this configuration works with.
 
Methods inherited from class org.ehcache.internal.classes.ClassInstanceProviderConfiguration
getDefaults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSerializationProviderConfiguration

public DefaultSerializationProviderConfiguration()
Method Detail

getServiceType

public java.lang.Class<SerializationProvider> getServiceType()
Description copied from interface: ServiceConfiguration
Indicates which service this configuration works with.

Specified by:
getServiceType in interface ServiceConfiguration<SerializationProvider>
Returns:
the service type

addSerializerFor

public <T> DefaultSerializationProviderConfiguration addSerializerFor(java.lang.Class<T> serializableClass,
                                                                      java.lang.Class<? extends Serializer<T>> serializerClass)