@Component(value="ehcache")
public class EhcacheComponent
extends org.apache.camel.support.DefaultComponent
DefaultComponent.| Constructor and Description |
|---|
EhcacheComponent() |
EhcacheComponent(org.apache.camel.CamelContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCachesConfigurations(Map<String,org.ehcache.config.CacheConfiguration> configurations) |
EhcacheManager |
createCacheManager(EhcacheConfiguration configuration) |
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
org.ehcache.config.CacheConfiguration |
getCacheConfiguration() |
String |
getCacheConfigurationUri() |
org.ehcache.CacheManager |
getCacheManager() |
org.ehcache.config.Configuration |
getCacheManagerConfiguration() |
Map<String,org.ehcache.config.CacheConfiguration> |
getCachesConfigurations() |
EhcacheConfiguration |
getConfiguration() |
void |
setCacheConfiguration(org.ehcache.config.CacheConfiguration cacheConfiguration)
The default cache configuration to be used to create caches.
|
void |
setCacheConfigurationUri(String configurationUri)
URI pointing to the Ehcache XML configuration file's location
|
void |
setCacheManager(org.ehcache.CacheManager cacheManager)
The cache manager
|
void |
setCacheManagerConfiguration(org.ehcache.config.Configuration cacheManagerConfiguration)
The cache manager configuration
|
void |
setCachesConfigurations(Map<String,org.ehcache.config.CacheConfiguration> configurations)
A map of caches configurations to be used to create caches.
|
void |
setConfiguration(EhcacheConfiguration configuration)
Sets the global component configuration
|
afterConfiguration, createEndpoint, createEndpoint, doBuild, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isBasicPropertyBinding, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setBasicPropertyBinding, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURIbuild, doFail, doInit, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspendclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic EhcacheComponent()
public EhcacheComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint in class org.apache.camel.support.DefaultComponentExceptionpublic EhcacheManager createCacheManager(EhcacheConfiguration configuration) throws IOException
IOExceptionpublic EhcacheConfiguration getConfiguration()
public void setConfiguration(EhcacheConfiguration configuration)
public org.ehcache.CacheManager getCacheManager()
public void setCacheManager(org.ehcache.CacheManager cacheManager)
public org.ehcache.config.Configuration getCacheManagerConfiguration()
public void setCacheManagerConfiguration(org.ehcache.config.Configuration cacheManagerConfiguration)
public void setCacheConfiguration(org.ehcache.config.CacheConfiguration cacheConfiguration)
public org.ehcache.config.CacheConfiguration getCacheConfiguration()
public Map<String,org.ehcache.config.CacheConfiguration> getCachesConfigurations()
public void setCachesConfigurations(Map<String,org.ehcache.config.CacheConfiguration> configurations)
public void addCachesConfigurations(Map<String,org.ehcache.config.CacheConfiguration> configurations)
public String getCacheConfigurationUri()
public void setCacheConfigurationUri(String configurationUri)
Apache Camel