org.jboss.cache.config
Class PluggableConfigurationComponent

java.lang.Object
  extended by org.jboss.cache.config.ConfigurationComponent
      extended by org.jboss.cache.config.PluggableConfigurationComponent
All Implemented Interfaces:
Serializable, Cloneable, CloneableConfigurationComponent
Direct Known Subclasses:
BuddyReplicationConfig.BuddyLocatorConfig, CacheLoaderConfig.IndividualCacheLoaderConfig, CacheLoaderConfig.IndividualCacheLoaderConfig.SingletonStoreConfig

public abstract class PluggableConfigurationComponent
extends ConfigurationComponent

A configuration component where the implementation class can be specified, and comes with its own set of properties.

Since:
2.2.0
Author:
Manik Surtani (manik AT jboss DOT org)
See Also:
Serialized Form

Field Summary
protected  String className
           
protected  Properties properties
           
 
Fields inherited from class org.jboss.cache.config.ConfigurationComponent
log
 
Constructor Summary
PluggableConfigurationComponent()
           
 
Method Summary
 PluggableConfigurationComponent clone()
           
 boolean equals(Object o)
           
 String getClassName()
           
 Properties getProperties()
           
 int hashCode()
           
 void setClassName(String className)
           
 void setProperties(Properties properties)
           
 void setProperties(String properties)
           
 String toString()
           
 
Methods inherited from class org.jboss.cache.config.ConfigurationComponent
addChildConfig, addChildConfigs, passCacheToChildConfig, removeChildConfig, removeChildConfigs, replaceChildConfig, replaceChildConfigs, setCache, testImmutability
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

className

protected String className

properties

protected Properties properties
Constructor Detail

PluggableConfigurationComponent

public PluggableConfigurationComponent()
Method Detail

getClassName

public String getClassName()

setClassName

public void setClassName(String className)

getProperties

public Properties getProperties()

setProperties

public void setProperties(Properties properties)

setProperties

public void setProperties(String properties)
                   throws IOException
Throws:
IOException

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

clone

public PluggableConfigurationComponent clone()
                                      throws CloneNotSupportedException
Specified by:
clone in interface CloneableConfigurationComponent
Overrides:
clone in class ConfigurationComponent
Throws:
CloneNotSupportedException


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.