org.infinispan.cdi
Class DefaultEmbeddedCacheConfigurationProducer

java.lang.Object
  extended by 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

Constructor Summary
DefaultEmbeddedCacheConfigurationProducer()
           
 
Method Summary
 Configuration getDefaultEmbeddedCacheConfiguration(javax.enterprise.inject.Instance<Configuration> providedDefaultEmbeddedCacheConfiguration)
          Produces the default embedded cache configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEmbeddedCacheConfigurationProducer

public DefaultEmbeddedCacheConfigurationProducer()
Method Detail

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.