ehcache

net.sf.ehcache.config
Class FactoryConfiguration<T extends FactoryConfiguration>

java.lang.Object
  extended by net.sf.ehcache.config.FactoryConfiguration<T>
Type Parameters:
T - the concrete factory type
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration, CacheConfiguration.CacheDecoratorFactoryConfiguration, CacheConfiguration.CacheEventListenerFactoryConfiguration, CacheConfiguration.CacheExceptionHandlerFactoryConfiguration, CacheConfiguration.CacheExtensionFactoryConfiguration, CacheConfiguration.CacheLoaderFactoryConfiguration, CacheWriterConfiguration.CacheWriterFactoryConfiguration

public class FactoryConfiguration<T extends FactoryConfiguration>
extends Object
implements Cloneable

A class to represent the CacheManagerEventListener configuration.

Version:
$Id: FactoryConfiguration.java 5594 2012-05-07 16:04:31Z cdennis $
Author:
Greg Luck

Field Summary
protected  String fullyQualifiedClassPath
          class name.
protected  String properties
          properties.
protected  String propertySeparator
          A property separator.
 
Constructor Summary
FactoryConfiguration()
           
 
Method Summary
 T className(String fullyQualifiedClassPath)
           
 T clone()
          Clones this object, following the usual contract.
 boolean equals(Object obj)
          Overrided equals
 String getFullyQualifiedClassPath()
          Getter.
 String getProperties()
          Getter.
 String getPropertySeparator()
          Getter
 int hashCode()
          Overrided hashCode()
 T properties(String properties)
           
 T propertySeparator(String propertySeparator)
           
 void setClass(String fullyQualifiedClassPath)
          Sets the class name.
 void setProperties(String properties)
          Sets the configuration properties.
 void setPropertySeparator(String propertySeparator)
          Setter
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fullyQualifiedClassPath

protected String fullyQualifiedClassPath
class name.


properties

protected String properties
properties.


propertySeparator

protected String propertySeparator
A property separator. By default it is a comma, but other separators can be configured.

Constructor Detail

FactoryConfiguration

public FactoryConfiguration()
Method Detail

clone

public T clone()
Clones this object, following the usual contract.

Overrides:
clone in class Object
Returns:
a copy, which independent other than configurations than cannot change.

setClass

public final void setClass(String fullyQualifiedClassPath)
Sets the class name.

Parameters:
fullyQualifiedClassPath -

className

public T className(String fullyQualifiedClassPath)
Returns:
this configuration instance
See Also:
setClass(String)

getFullyQualifiedClassPath

public final String getFullyQualifiedClassPath()
Getter.


setProperties

public final void setProperties(String properties)
Sets the configuration properties.

Parameters:
properties -

properties

public T properties(String properties)
Returns:
this configuration instance
See Also:
setProperties(String)

getProperties

public final String getProperties()
Getter.


setPropertySeparator

public void setPropertySeparator(String propertySeparator)
Setter


propertySeparator

public T propertySeparator(String propertySeparator)
Returns:
this configuration instance
See Also:
setPropertySeparator(String)

getPropertySeparator

public String getPropertySeparator()
Getter


hashCode

public int hashCode()
Overrided hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrided equals

Overrides:
equals in class Object

ehcache

Copyright 2001-2014, Terracotta, Inc.