org.modeshape.jcr
Class LocalEnvironment
java.lang.Object
org.modeshape.jcr.LocalEnvironment
- All Implemented Interfaces:
- Environment
public class LocalEnvironment
- extends Object
- implements Environment
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TRANSACTION_MANAGER_LOOKUP_CLASS
public static final Class<? extends org.infinispan.transaction.lookup.TransactionManagerLookup> DEFAULT_TRANSACTION_MANAGER_LOOKUP_CLASS
LocalEnvironment
public LocalEnvironment()
LocalEnvironment
public LocalEnvironment(Class<? extends org.infinispan.transaction.lookup.TransactionManagerLookup> transactionManagerLookupClass)
getCacheContainer
public org.infinispan.manager.CacheContainer getCacheContainer()
throws IOException,
NamingException
- Throws:
IOException
NamingException
getCacheContainer
public org.infinispan.manager.CacheContainer getCacheContainer(String name)
throws IOException,
NamingException
- Specified by:
getCacheContainer
in interface Environment
- Throws:
IOException
NamingException
getChannel
public org.jgroups.Channel getChannel(String name)
- Specified by:
getChannel
in interface Environment
shutdown
public void shutdown()
- Specified by:
shutdown
in interface Environment
getClassLoader
public ClassLoader getClassLoader(ClassLoader fallbackLoader,
String... classpathEntries)
- Specified by:
getClassLoader
in interface Environment
shutdown
protected void shutdown(org.infinispan.manager.CacheContainer container)
transactionManagerLookupClass
protected Class<? extends org.infinispan.transaction.lookup.TransactionManagerLookup> transactionManagerLookupClass()
transactionManagerLookupInstance
protected org.infinispan.transaction.lookup.TransactionManagerLookup transactionManagerLookupInstance()
createContainer
protected org.infinispan.manager.CacheContainer createContainer(String configFile)
throws IOException,
NamingException
- Throws:
IOException
NamingException
createDefaultConfiguration
protected org.infinispan.configuration.cache.Configuration createDefaultConfiguration()
createGlobalConfiguration
protected org.infinispan.configuration.global.GlobalConfiguration createGlobalConfiguration()
createContainer
protected org.infinispan.manager.CacheContainer createContainer(org.infinispan.configuration.global.GlobalConfiguration globalConfiguration,
org.infinispan.configuration.cache.Configuration configuration)
jndiContext
protected Context jndiContext()
throws NamingException
- Throws:
NamingException
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.