Top Description Fields Constructors Methods
net.sf.ehcache.config

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

extends Object
implements Cloneable
Class Inheritance
All Implemented Interfaces
java.lang.Cloneable
Known Direct Subclasses
net.sf.ehcache.config.CacheConfiguration.CacheEventListenerFactoryConfiguration, net.sf.ehcache.config.CacheConfiguration.CacheExtensionFactoryConfiguration, net.sf.ehcache.config.CacheConfiguration.BootstrapCacheLoaderFactoryConfiguration, net.sf.ehcache.config.CacheConfiguration.CacheExceptionHandlerFactoryConfiguration, net.sf.ehcache.config.CacheConfiguration.CacheLoaderFactoryConfiguration, net.sf.ehcache.config.CacheConfiguration.CacheDecoratorFactoryConfiguration, net.sf.ehcache.config.CacheWriterConfiguration.CacheWriterFactoryConfiguration
Type Parameters
<T>
the concrete factory type

A class to represent the CacheManagerEventListener configuration.
Author
Greg Luck
Version
$Id: FactoryConfiguration.java 5594 2012-05-07 16:04:31Z cdennis $

Field Summary

Modifier and TypeField and Description
protected String
protected String
properties

properties.

protected String
propertySeparator

A property separator.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

this configuration instance
className
(String fullyQualifiedClassPath)

public T

Returns:

a copy, which independent other than configurations than cannot change.
clone
()

Overrides java.lang.Object.clone.

Clones this object, following the usual contract.
public boolean
equals(Object
the reference object with which to compare.
obj
)

Overrides java.lang.Object.equals.

Overrided equals
public final String
public final String
getProperties()

Getter.

public String
public int
hashCode()

Overrides java.lang.Object.hashCode.

Overrided hashCode()
public T

Returns:

this configuration instance
properties
(String properties)

public T

Returns:

this configuration instance
propertySeparator
(String propertySeparator)

public final void
setClass(String fullyQualifiedClassPath)

Sets the class name.

public final void
setProperties(String properties)

Sets the configuration properties.

public void
setPropertySeparator(String propertySeparator)

Setter

Inherited from java.lang.Object:
finalizegetClassnotifynotifyAlltoStringwaitwaitwait

Field Detail

fullyQualifiedClassPathback to summary
protected String fullyQualifiedClassPath

class name.

propertiesback to summary
protected String properties

properties.

propertySeparatorback to summary
protected String propertySeparator

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

Constructor Detail

FactoryConfigurationback to summary
public FactoryConfiguration()

Method Detail

classNameback to summary
public T className(String fullyQualifiedClassPath)
Returns:T

this configuration instance

See Also
setClass(String)
cloneback to summary
public T clone()

Overrides java.lang.Object.clone.

Clones this object, following the usual contract.

Returns:T

a copy, which independent other than configurations than cannot change.

Annotations
@Override
equalsback to summary
public boolean equals(Object obj)

Overrides java.lang.Object.equals.

Overrided equals

Parameters
obj:Object

Doc from java.lang.Object.equals.

the reference object with which to compare.

Returns:boolean

Doc from java.lang.Object.equals.

true if this object is the same as the obj argument; false otherwise.

Annotations
@Override
getFullyQualifiedClassPathback to summary
public final String getFullyQualifiedClassPath()

Getter.

getPropertiesback to summary
public final String getProperties()

Getter.

getPropertySeparatorback to summary
public String getPropertySeparator()

Getter

hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Overrided hashCode()

Returns:int

Doc from java.lang.Object.hashCode.

a hash code value for this object.

Annotations
@Override
propertiesback to summary
public T properties(String properties)
Returns:T

this configuration instance

See Also
setProperties(String)
propertySeparatorback to summary
public T propertySeparator(String propertySeparator)
Returns:T

this configuration instance

See Also
setPropertySeparator(String)
setClassback to summary
public final void setClass(String fullyQualifiedClassPath)

Sets the class name.

setPropertiesback to summary
public final void setProperties(String properties)

Sets the configuration properties.

setPropertySeparatorback to summary
public void setPropertySeparator(String propertySeparator)

Setter