|
ModeShape Distribution 3.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ThreadSafe public interface Environment
A basic environment in which a repository operates. The logical names supplied to these methods are typically obtained directly
from the RepositoryConfiguration.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
org.infinispan.manager.CacheContainer getCacheContainer(String name)
throws IOException,
NamingException
name - the name of the cache container; may be null
IOException - if there is an error accessing any resources required to start the container
NamingException - 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 null
Exception - if there is a problem obtaining the named channel
ClassLoader getClassLoader(ClassLoader fallbackLoader,
String... classpathEntries)
fallbackLoader - the classloader that should be used is the fallback class loaderclasspathEntries - the logical classpath entries
void shutdown()
|
ModeShape Distribution 3.2.0.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||