public class DefaultEmbeddedCacheManagerProducer extends Object
The default EmbeddedCacheManager
producer.
The cache manager produced by default is an instance of DefaultCacheManager
initialized with the default
configuration produced by the DefaultEmbeddedCacheConfigurationProducer
. The default cache manager can be
overridden by creating a producer which produces the new default cache manager. The cache manager produced must have
the scope ApplicationScoped
and the Default qualifier.
Constructor and Description |
---|
DefaultEmbeddedCacheManagerProducer() |
Modifier and Type | Method and Description |
---|---|
org.infinispan.manager.EmbeddedCacheManager |
getDefaultEmbeddedCacheManager(org.infinispan.configuration.cache.Configuration defaultConfiguration)
Produces the default embedded cache manager.
|
@Produces @ApplicationScoped @DefaultBean(value=org.infinispan.manager.EmbeddedCacheManager.class) public org.infinispan.manager.EmbeddedCacheManager getDefaultEmbeddedCacheManager(org.infinispan.configuration.cache.Configuration defaultConfiguration)
defaultConfiguration
- the default configuration produced by the DefaultEmbeddedCacheConfigurationProducer
.Copyright © 2017 JBoss, a division of Red Hat. All rights reserved.