|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The collection of clouds and modules within a Java Virtual Machine.
| Method Summary | |
void |
assertUp()
|
FieldList |
createFieldList()
Returns a new, empty field list |
ModuleList |
createModuleList()
Returns a new, empty module list |
NodeList |
createNodeList()
Returns a new, empty node list. |
NodeManagerList |
createNodeManagerList()
Returns a new, empty node manager list Note that it is generally better to use Cloud.createNodeManagerList(). |
RelationList |
createRelationList()
Returns a new, empty relation list Note that it is generally better to use Cloud.createRelationList() or NodeManager.createRelationList(). |
RelationManagerList |
createRelationManagerList()
Returns a new, empty relation manager list Note that it is generally better to use Cloud.createRelationManagerList(). |
StringList |
createStringList()
Returns a new, empty string list |
AuthenticationData |
getAuthentication()
Acquired information about the currently configuration Authentication implementation. |
Cloud |
getCloud(String name)
Returns the cloud with the specified name. |
Cloud |
getCloud(String name,
String authenticationType,
Map loginInfo)
Returns the cloud with the specified name, with authentication |
Cloud |
getCloud(String name,
UserContext user)
Returns the cloud with the specified name, based on an existing User object (e.g. |
StringList |
getCloudNames()
Returns the names of all the clouds known to the system |
String |
getDefaultCharacterEncoding()
Returns the default character encoding, which can be used as a default. |
Locale |
getDefaultLocale()
Returns the default locale setting. |
TimeZone |
getDefaultTimeZone()
Returns the default time zone. |
Module |
getModule(String name)
Returns the module with the specified name. |
ModuleList |
getModules()
Returns all modules available in this context. |
boolean |
hasModule(String name)
Returns whether the module with the specified name is available. |
boolean |
isUp()
|
| Method Detail |
public ModuleList getModules()
public Module getModule(String name)
throws NotFoundException
name - the name of the module to be returned
NotFoundException - if the specified module could not be foundpublic boolean hasModule(String name)
name - the name of the module
true if the module is availablepublic Cloud getCloud(String name)
name - The name of the cloud to be returned, this is always "mmbase".
NotFoundException - if the specified cloud could not be found
SecurityException - if no anonymous user can be created
public Cloud getCloud(String name,
String authenticationType,
Map loginInfo)
throws NotFoundException
name - The name of the cloud to be returned, always "mmbase".authenticationType - The type of authentication, which should be
used by the authentication implementation.loginInfo - the user related login information.
NotFoundException - if the specified cloud could not be found
public Cloud getCloud(String name,
UserContext user)
throws NotFoundException
Cloud.getUser()
name - The name of the cloud to be returned, always "mmbase".user - The user object for which this cloud object must be created.
NotFoundExceptionpublic StringList getCloudNames()
public String getDefaultCharacterEncoding()
public Locale getDefaultLocale()
public TimeZone getDefaultTimeZone()
public FieldList createFieldList()
public NodeList createNodeList()
Cloud.createNodeList() or NodeManager.createNodeList().
public RelationList createRelationList()
Cloud.createRelationList() or NodeManager.createRelationList().
public NodeManagerList createNodeManagerList()
Cloud.createNodeManagerList().
public RelationManagerList createRelationManagerList()
Cloud.createRelationManagerList().
public ModuleList createModuleList()
public StringList createStringList()
public AuthenticationData getAuthentication()
public boolean isUp()
public void assertUp()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||