@ThreadSafe public interface Environment
RepositoryConfiguration.| Modifier and Type | Method and Description |
|---|---|
org.infinispan.manager.CacheContainer |
getCacheContainer(String name)
Get the cache container with the given name.
|
org.jgroups.Channel |
getChannel(String name)
Get the JGroups channel with the given logical name.
|
ClassLoader |
getClassLoader(ClassLoader fallbackLoader,
String... classpathEntries)
Get a classloader given the supplied set of logical classpath entries, which the implementation can interpret however it
needs.
|
void |
shutdown()
Shutdown this environment, allowing it to reclaim any resources.
|
org.infinispan.manager.CacheContainer getCacheContainer(String name) throws IOException, NamingException
name - the name of the cache container; may be nullIOException - if there is an error accessing any resources required to start the containerNamingException - if there is an error accessing JNDI (if that is used in the implementation)org.jgroups.Channel getChannel(String name) throws Exception
name - the name of the channel; may not be nullException - if there is a problem obtaining the named channelClassLoader getClassLoader(ClassLoader fallbackLoader, String... classpathEntries)
fallbackLoader - the classloader that should be used is the fallback class loaderclasspathEntries - the logical classpath entriesvoid shutdown()
Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.