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

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

public final class JndiCacheManagerLookupService
     
     
extends Object

This service looks up the jndi name in the cache.properties file and fetches the CacheManager using this name from the jndi context.


Constructor Summary
JndiCacheManagerLookupService()
          Default.
 
Method Summary
 CacheManagerProxy createManager()
          Creates the embedded cache manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiCacheManagerLookupService

public JndiCacheManagerLookupService()
Default.

Method Detail

createManager

public CacheManagerProxy createManager()
                                throws de.smartics.properties.spi.config.cache.CacheException
Creates the embedded cache manager.

Returns:
the embedded cache manager.
Throws:
de.smartics.properties.spi.config.cache.CacheException - on any problem loading the cache.


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