de.smartics.properties.spi.config.cache.infinispan
Class CacheManagerProxy

Package class diagram package CacheManagerProxy
java.lang.Object
  extended by de.smartics.properties.spi.config.cache.infinispan.CacheManagerProxy

public final class CacheManagerProxy
     
     
extends Object

Provides information about the cache to use.


Constructor Summary
CacheManagerProxy(org.infinispan.manager.EmbeddedCacheManager manager, String cacheName)
          Default constructor.
 
Method Summary
 String getCacheName()
          Returns the name of the cache within the cache container.
 org.infinispan.manager.EmbeddedCacheManager getManager()
          Returns the embedded cache manager to use.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheManagerProxy

public CacheManagerProxy(org.infinispan.manager.EmbeddedCacheManager manager,
                         String cacheName)
                  throws NullPointerException,
                         IllegalArgumentException
Default constructor.

Parameters:
manager - the embedded cache manager to use.
cacheName - the name of the cache within the cache container.
Throws:
NullPointerException - if manager or cacheName is null.
IllegalArgumentException - if cacheName is blank.
Method Detail

getManager

public org.infinispan.manager.EmbeddedCacheManager getManager()
Returns the embedded cache manager to use.

Returns:
the embedded cache manager to use.

getCacheName

public String getCacheName()
Returns the name of the cache within the cache container.

Returns:
the name of the cache within the cache container.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.