org.ehcache.impl.config.copy
Class DefaultCopierConfiguration<T>

java.lang.Object
  extended by org.ehcache.impl.internal.classes.ClassInstanceConfiguration<Copier<T>>
      extended by org.ehcache.impl.config.copy.DefaultCopierConfiguration<T>
All Implemented Interfaces:
CopierConfiguration, ServiceConfiguration<CopyProvider>

public class DefaultCopierConfiguration<T>
extends ClassInstanceConfiguration<Copier<T>>
implements CopierConfiguration


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ehcache.core.config.copy.CopierConfiguration
CopierConfiguration.Type
 
Constructor Summary
DefaultCopierConfiguration(java.lang.Class<? extends Copier<T>> clazz, CopierConfiguration.Type type)
           
DefaultCopierConfiguration(Copier<T> instance, CopierConfiguration.Type type)
           
 
Method Summary
 java.lang.Class<CopyProvider> getServiceType()
          Indicates which service this configuration works with.
 CopierConfiguration.Type getType()
          Get the type of the copier configured
 
Methods inherited from class org.ehcache.impl.internal.classes.ClassInstanceConfiguration
getArguments, getClazz, getInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCopierConfiguration

public DefaultCopierConfiguration(java.lang.Class<? extends Copier<T>> clazz,
                                  CopierConfiguration.Type type)

DefaultCopierConfiguration

public DefaultCopierConfiguration(Copier<T> instance,
                                  CopierConfiguration.Type type)
Method Detail

getServiceType

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

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

getType

public CopierConfiguration.Type getType()
Description copied from interface: CopierConfiguration
Get the type of the copier configured

Specified by:
getType in interface CopierConfiguration
Returns:
the type