| org.mmbase.bridge.CloudContext
All known Subclasses: org.mmbase.bridge.implementation.BasicCloudContext,
CloudContext | public interface CloudContext (Code) | | The collection of clouds and modules within a Java Virtual Machine.
author: Rob Vermeulen author: Pierre van Rooden author: Jaco de Groot version: $Id: CloudContext.java,v 1.33 2008/02/16 22:13:53 nklasens Exp $ |
Method Summary | |
public void | assertUp() Assert whether MMbase is up and running. | public FieldList | createFieldList() | public ModuleList | createModuleList() | public NodeList | createNodeList() Returns a new, empty node list. | public NodeManagerList | createNodeManagerList() Returns a new, empty node manager list
Note that it is generally better to use
Cloud.createNodeManagerList . | public RelationList | createRelationList() Returns a new, empty relation list
Note that it is generally better to use
Cloud.createRelationList or
NodeManager.createRelationList . | public RelationManagerList | createRelationManagerList() Returns a new, empty relation manager list
Note that it is generally better to use
Cloud.createRelationManagerList . | public StringList | createStringList() | public ActionRepository | getActionRepository() | public AuthenticationData | getAuthentication() Acquired information about the currently configuration Authentication implementation. | public Cloud | getCloud(String name) Returns the cloud with the specified name.
Parameters: name - The name of the cloud to be returned, this is always "mmbase". | public Cloud | getCloud(String name, String authenticationType, Map loginInfo) Returns the cloud with the specified name, with authentication
Parameters: name - The name of the cloud to be returned, always "mmbase". Parameters: authenticationType - The type of authentication, which should beused by the authentication implementation. Parameters: loginInfo - the user related login information. | public Cloud | getCloud(String name, org.mmbase.security.UserContext user) Returns the cloud with the specified name, based on an existing User object (e.g. | public StringList | getCloudNames() | public String | getDefaultCharacterEncoding() Returns the default character encoding, which can be used as a default. | public java.util.Locale | getDefaultLocale() Returns the default locale setting. | public java.util.TimeZone | getDefaultTimeZone() Returns the default time zone. | public Module | getModule(String name) Returns the module with the specified name. | public ModuleList | getModules() Returns all modules available in this context. | public boolean | hasModule(String name) Returns whether the module with the specified name is available. | public boolean | isUp() |
assertUp | public void assertUp()(Code) | | Assert whether MMbase is up and running. This will wait until it is.
since: MMBase-1.8 |
createFieldList | public FieldList createFieldList()(Code) | | Returns a new, empty field list
The empty list since: MMBase-1.6 |
createModuleList | public ModuleList createModuleList()(Code) | | Returns a new, empty module list
The empty list since: MMBase-1.6 |
createStringList | public StringList createStringList()(Code) | | Returns a new, empty string list
The empty list since: MMBase-1.6 |
getActionRepository | public ActionRepository getActionRepository()(Code) | | Returns the Repository with actions
Repository with actions since: MMBase-1.9 |
getAuthentication | public AuthenticationData getAuthentication()(Code) | | Acquired information about the currently configuration Authentication implementation.
current Authentication information since: MMBase-1.8 |
getCloud | public Cloud getCloud(String name)(Code) | | Returns the cloud with the specified name.
Parameters: name - The name of the cloud to be returned, this is always "mmbase". The requested cloud throws: NotFoundException - if the specified cloud could not be found throws: SecurityException - if no anonymous user can be created |
getCloud | public Cloud getCloud(String name, String authenticationType, Map loginInfo) throws NotFoundException(Code) | | Returns the cloud with the specified name, with authentication
Parameters: name - The name of the cloud to be returned, always "mmbase". Parameters: authenticationType - The type of authentication, which should beused by the authentication implementation. Parameters: loginInfo - the user related login information. the requested cloud throws: NotFoundException - if the specified cloud could not be found |
getCloudNames | public StringList getCloudNames()(Code) | | Returns the names of all the clouds known to the system
A StringList of all clouds names known to our Context |
getDefaultCharacterEncoding | public String getDefaultCharacterEncoding()(Code) | | Returns the default character encoding, which can be used as a default.
A string with the character encoding since: MMBase-1.6 |
getDefaultLocale | public java.util.Locale getDefaultLocale()(Code) | | Returns the default locale setting.
A Locale object since: MMBase-1.6 |
getDefaultTimeZone | public java.util.TimeZone getDefaultTimeZone()(Code) | | Returns the default time zone.
the default time zone since: MMBase-1.8 |
getModule | public Module getModule(String name) throws NotFoundException(Code) | | Returns the module with the specified name.
Parameters: name - the name of the module to be returned the requested module throws: NotFoundException - if the specified module could not be found |
getModules | public ModuleList getModules()(Code) | | Returns all modules available in this context.
all available modules |
hasModule | public boolean hasModule(String name)(Code) | | Returns whether the module with the specified name is available.
Parameters: name - the name of the module true if the module is available |
isUp | public boolean isUp()(Code) | | Returns whether MMbase is up and running
true when mmbase is running since: MMBase-1.8 |
|
|