org.infinispan.cdi
Class DefaultEmbeddedCacheConfigurationProducer
java.lang.Object
org.infinispan.cdi.DefaultEmbeddedCacheConfigurationProducer
public class DefaultEmbeddedCacheConfigurationProducer
- extends Object
The default embedded cache Configuration
producer.
The default embedded cache configuration can be overridden by creating a producer which produces the new default
configuration. The configuration produced must have the scope Dependent
and the Default qualifier.
- Author:
- Pete Muir, Kevin Pollet (C) 2011 SERLI
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultEmbeddedCacheConfigurationProducer
public DefaultEmbeddedCacheConfigurationProducer()
getDefaultEmbeddedCacheConfiguration
@Produces
@DefaultBean(value=Configuration.class)
public Configuration getDefaultEmbeddedCacheConfiguration(@OverrideDefault
javax.enterprise.inject.Instance<Configuration> providedDefaultEmbeddedCacheConfiguration)
- Produces the default embedded cache configuration.
- Parameters:
providedDefaultEmbeddedCacheConfiguration
- the provided default embedded cache configuration.
- Returns:
- the default embedded cache configuration.
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.