org.infinispan.cdi
Class DefaultRemoteCacheManagerProducer

java.lang.Object
  extended by org.infinispan.cdi.DefaultRemoteCacheManagerProducer

public class DefaultRemoteCacheManagerProducer
extends Object

The default RemoteCacheManager producer.

The remote cache manager used by default can be overridden by creating a producer which produces the new default remote cache manager. The remote cache manager produced must have the scope ApplicationScoped and the Default qualifier.

Author:
Kevin Pollet (C) 2011 SERLI

Constructor Summary
DefaultRemoteCacheManagerProducer()
           
 
Method Summary
 RemoteCacheManager getDefaultRemoteCacheManager()
          Produces the default remote cache manager with the default settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRemoteCacheManagerProducer

public DefaultRemoteCacheManagerProducer()
Method Detail

getDefaultRemoteCacheManager

@Produces
@ApplicationScoped
@DefaultBean(value=RemoteCacheManager.class)
public RemoteCacheManager getDefaultRemoteCacheManager()
Produces the default remote cache manager with the default settings.

Returns:
the default remote cache manager.
See Also:
RemoteCacheManager.RemoteCacheManager()

-->

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.