public class RemoteCloudContext_Proxy extends MappedObject_Proxy<RemoteCloudContext> implements CloudContext
| Constructor and Description |
|---|
RemoteCloudContext_Proxy(RemoteCloudContext remoteObject) |
| Modifier and Type | Method and Description |
|---|---|
CloudContext |
assertUp()
Assert whether MMbase is up and running.
|
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
|
ActionRepository |
getActionRepository()
Returns the Repository with actions
|
AuthenticationData |
getAuthentication()
Acquires information about the currently configuration Authentication implementation.
|
Cloud |
getCloud(String arg0)
Returns the cloud with the specified name.
|
Cloud |
getCloud(String arg0,
String arg1,
Map<String,?> arg2)
Returns the cloud with the specified name, with authentication
|
Cloud |
getCloud(String arg0,
UserContext arg1)
Returns the cloud with the specified name, based on an existing User object.
|
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 arg0)
Returns the module with the specified name.
|
ModuleList |
getModules()
Returns all modules available in this context.
|
String |
getUri()
The String which was usesd, and could be used again to acquire this cloud context using
ContextProvider.getCloudContext(String). |
RemoteCloudContext |
getWrappedObject() |
boolean |
hasModule(String arg0)
Returns whether the module with the specified name is available.
|
boolean |
isUp()
Returns whether MMbase is up and running
|
equals, getMapperCode, hashCode, toStringpublic RemoteCloudContext_Proxy(RemoteCloudContext remoteObject)
public String getDefaultCharacterEncoding()
CloudContextgetDefaultCharacterEncoding in interface CloudContextpublic RelationManagerList createRelationManagerList()
CloudContextCloud.createRelationManagerList().createRelationManagerList in interface CloudContextpublic NodeManagerList createNodeManagerList()
CloudContextCloud.createNodeManagerList().createNodeManagerList in interface CloudContextpublic boolean hasModule(String arg0)
CloudContexthasModule in interface CloudContextarg0 - the name of the moduletrue if the module is availablepublic StringList getCloudNames()
CloudContextgetCloudNames in interface CloudContextpublic TimeZone getDefaultTimeZone()
CloudContextgetDefaultTimeZone in interface CloudContextpublic ModuleList createModuleList()
CloudContextcreateModuleList in interface CloudContextpublic StringList createStringList()
CloudContextcreateStringList in interface CloudContextpublic ActionRepository getActionRepository()
CloudContextgetActionRepository in interface CloudContextpublic FieldList createFieldList()
CloudContextcreateFieldList in interface CloudContextpublic NodeList createNodeList()
CloudContextCloud.createNodeList() or NodeManager.createNodeList(), because then the object can be properly associated with a Cloud.createNodeList in interface CloudContextpublic RelationList createRelationList()
CloudContextCloud.createRelationList() or NodeManager.createRelationList().createRelationList in interface CloudContextpublic Locale getDefaultLocale()
CloudContextgetDefaultLocale in interface CloudContextpublic AuthenticationData getAuthentication()
CloudContextgetAuthentication in interface CloudContextpublic ModuleList getModules()
CloudContextgetModules in interface CloudContextpublic Module getModule(String arg0)
CloudContextgetModule in interface CloudContextarg0 - the name of the module to be returnedpublic String getUri()
CloudContextContextProvider.getCloudContext(String).getUri in interface CloudContextpublic Cloud getCloud(String arg0, String arg1, Map<String,?> arg2)
CloudContextgetCloud in interface CloudContextarg0 - The name of the cloud to be returned. See CloudContext.getCloudNames()arg1 - The type of authentication, which should be
used by the authentication implementation.. This is one of the
strings returned by CloudContext.getAuthentication().AuthenticationData.getTypes().
Typically, 'anonymous', 'class' and 'name/password' are
supported.arg2 - The required user information and credentials. What exactly is
required, depends on the Authentication implementation,
and the value of the authenticationType parameter.
If no credentials are needed null can be specified
(This for example is the case with authenticationType 'class').
It is possible to create this Map using #getAuthentcation.AuthenticationData.createParameters(String).Parameters.toMap(java.util.Map<java.lang.String, java.lang.Object>).
That e.g. makes it possible to know beforehand what keys can be
used in the loginInfo Map, given a certain authenticationType.public Cloud getCloud(String arg0, UserContext arg1)
CloudContextCloud.getUser() or directly from Authentication.login(java.lang.String, java.util.Map<java.lang.String, ?>, java.lang.Object[])).
The security implementation may depend on implementation details of this
UserContext.getCloud in interface CloudContextarg0 - The name of the cloud to be returned. See CloudContext.getCloudNames().arg1 - The user object for which this cloud object must be created. Many
security implementation require this object to be created by
themselves.public Cloud getCloud(String arg0)
CloudContextCloudContext.getCloudNames().getCloud in interface CloudContextarg0 - The name of the cloud to be returned, this is very often "mmbase".public CloudContext assertUp()
CloudContextassertUp in interface CloudContextpublic boolean isUp()
CloudContextisUp in interface CloudContexttrue when mmbase is runningpublic RemoteCloudContext getWrappedObject()
getWrappedObject in interface MappedObjectgetWrappedObject in class MappedObject_Proxy<RemoteCloudContext>MMBase 1.9-SNAPSHOT - ${javadoctimestamp}