@ThreadSafe public interface Environment
RepositoryConfiguration
.Modifier and Type | Method and Description |
---|---|
CacheContainer |
getCacheContainer(String name)
Get the cache container with the given 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.
|
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)ClassLoader getClassLoader(ClassLoader fallbackLoader, String... classpathEntries)
fallbackLoader
- the classloader that should be used is the fallback class loaderclasspathEntries
- the logical classpath entriesvoid shutdown()
Copyright © 2008-2015 JBoss, a division of Red Hat. All Rights Reserved.