org.mmbase.bridge
Class LocalContext
java.lang.Object
org.mmbase.bridge.implementation.BasicCloudContext
org.mmbase.bridge.LocalContext
- All Implemented Interfaces:
- CloudContext
public final class LocalContext
- extends BasicCloudContext
The collection of clouds, and modules within the current application context.
Actually, there is always only one MMBase cloud (named 'mmbase'). There can however be
more modules (of which 'mmbaseroot' it one).
This class is based on 'BasicCloudContext' because it itself want to be in the package
org.mmbase.bridge, but it wants to expose some members to other classes in the
org.mmbase.bridge.implementation package.
- Version:
- $Id: LocalContext.java 34900 2009-05-01 16:29:42Z michiel $
- Author:
- Rob Vermeulen, Pierre van Rooden
| Methods inherited from class org.mmbase.bridge.implementation.BasicCloudContext |
assertUp, check, checkExists, createFieldList, createModuleList, createNodeList, createNodeManagerList, createRelationList, createRelationManagerList, createStringList, getActionRepository, getAuthentication, getCloud, getCloud, getCloud, getCloudNames, getDefaultCharacterEncoding, getDefaultLocale, getDefaultTimeZone, getModule, getModules, hasModule, isUp |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getCloudContext
public static LocalContext getCloudContext()
- Called from the script to retrieve the current CloudContext
- Returns:
- current CloudContext
getUri
public String getUri()
- Description copied from interface:
CloudContext
- The String which was usesd, and could be used again to acquire this cloud context using
ContextProvider.getCloudContext(String).
MMBase 2.0-SNAPSHOT - null