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:
java.io.Serializable, java.lang.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  java.lang.String className
           
protected  java.util.Properties properties
           
 
Fields inherited from class org.jboss.cache.config.ConfigurationComponent
log
 
Constructor Summary
PluggableConfigurationComponent()
           
 
Method Summary
 PluggableConfigurationComponent clone()
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getClassName()
           
 java.util.Properties getProperties()
           
 int hashCode()
           
 void setClassName(java.lang.String className)
           
 void setProperties(java.util.Properties properties)
           
 void setProperties(java.lang.String properties)
           
 java.lang.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 java.lang.String className

properties

protected java.util.Properties properties
Constructor Detail

PluggableConfigurationComponent

public PluggableConfigurationComponent()
Method Detail

getClassName

public java.lang.String getClassName()

setClassName

public void setClassName(java.lang.String className)

getProperties

public java.util.Properties getProperties()

setProperties

public void setProperties(java.util.Properties properties)

setProperties

public void setProperties(java.lang.String properties)
                   throws java.io.IOException
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

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


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