org.infinispan.loaders
Class AbstractCacheLoaderConfig

java.lang.Object
  extended by org.infinispan.config.AbstractConfigurationBean
      extended by org.infinispan.config.AbstractNamedCacheConfigurationBean
          extended by org.infinispan.loaders.AbstractCacheLoaderConfig
All Implemented Interfaces:
Serializable, Cloneable, CloneableConfigurationComponent, JAXBUnmarshallable, CacheLoaderConfig
Direct Known Subclasses:
AbstractCacheStoreConfig, ClusterCacheLoaderConfig

public class AbstractCacheLoaderConfig
extends AbstractNamedCacheConfigurationBean
implements CacheLoaderConfig

Abstract base class for CacheLoaderConfigs.

Since:
4.0
Author:
Mircea.Markus@jboss.com, Vladimir Blagojevic
See Also:
Serialized Form

Field Summary
protected  String cacheLoaderClassName
           
protected  TypedProperties properties
           
 
Fields inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
cr
 
Fields inherited from class org.infinispan.config.AbstractConfigurationBean
overriddenConfigurationElements
 
Constructor Summary
AbstractCacheLoaderConfig()
           
 
Method Summary
 void accept(ConfigurationBeanVisitor v)
           
 AbstractCacheLoaderConfig clone()
           
 String getCacheLoaderClassName()
           
 ClassLoader getClassLoader()
          Get the classloader that should be used to load resources from the classpath
 Properties getProperties()
           
 void setCacheLoaderClassName(String className)
          Fully qualified name of a cache loader class that must implement org.infinispan.loaders.CacheLoader interface
 void setProperties(Properties properties)
           
 void setProperties(String properties)
           
 
Methods inherited from class org.infinispan.config.AbstractNamedCacheConfigurationBean
hasComponentStarted, inject
 
Methods inherited from class org.infinispan.config.AbstractConfigurationBean
testImmutability, toTypedProperties, toTypedProperties, uc, willUnmarshall
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cacheLoaderClassName

protected String cacheLoaderClassName

properties

protected TypedProperties properties
Constructor Detail

AbstractCacheLoaderConfig

public AbstractCacheLoaderConfig()
Method Detail

getProperties

public Properties getProperties()

setProperties

public void setProperties(Properties properties)

setProperties

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

getCacheLoaderClassName

public String getCacheLoaderClassName()
Specified by:
getCacheLoaderClassName in interface CacheLoaderConfig

setCacheLoaderClassName

public void setCacheLoaderClassName(String className)
Fully qualified name of a cache loader class that must implement org.infinispan.loaders.CacheLoader interface

Specified by:
setCacheLoaderClassName in interface CacheLoaderConfig
See Also:
CacheLoaderConfig.setCacheLoaderClassName(java.lang.String)

clone

public AbstractCacheLoaderConfig clone()
Specified by:
clone in interface CloneableConfigurationComponent
Specified by:
clone in interface CacheLoaderConfig
Overrides:
clone in class AbstractNamedCacheConfigurationBean

getClassLoader

public ClassLoader getClassLoader()
Description copied from interface: CacheLoaderConfig
Get the classloader that should be used to load resources from the classpath

Specified by:
getClassLoader in interface CacheLoaderConfig
Returns:

accept

public void accept(ConfigurationBeanVisitor v)
Specified by:
accept in interface CacheLoaderConfig

-->

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