org.infinispan.cdi
Class DefaultCacheConfigurationProducer
java.lang.Object
org.infinispan.cdi.DefaultCacheConfigurationProducer
public class DefaultCacheConfigurationProducer
- extends Object
The default cache configuration producer.
The default cache configuration is used by the default cache manager. The default cache configuration can be
overridden by creating a producer which produces the new default configuration. The new default cache configuration
produced must be qualified by OverrideDefault
.
- 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 |
DefaultCacheConfigurationProducer
public DefaultCacheConfigurationProducer()
getDefaultCacheConfiguration
@Produces
@Default
@ApplicationScoped
public Configuration getDefaultCacheConfiguration(@OverrideDefault
javax.enterprise.inject.Instance<Configuration> providedDefaultConfiguration)
- Produces the default cache configuration.
- Parameters:
providedDefaultConfiguration
- the provided default cache configuration.
- Returns:
- the default cache configuration used by the default cache manager.
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.