|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mmapps.modules.cloudprovider.impl.DefaultCloudProvider
public class DefaultCloudProvider
This CloudProvider logs in to MMBase as anonymous user
| Field Summary | |
|---|---|
protected java.lang.String |
cloudcontextname
|
static java.lang.String |
CLOUDCONTEXTNAME_PROPERTY_NAME
The name of the property that can be used to set teh cloudcontext name |
protected java.lang.String |
cloudname
|
static java.lang.String |
CLOUDNAME_PROPERTY_NAME
The name of the property that can be used to set the cloud name to use |
static java.lang.String |
DEFAULT_CLOUD_NAME
The default cloud name to use when acquiring a cloud from MMBase. |
| Constructor Summary | |
|---|---|
DefaultCloudProvider()
|
|
| Method Summary | |
|---|---|
org.mmbase.bridge.Cloud |
getAdminCloud()
This method should return a cloud that can be used for administration purposes. |
org.mmbase.bridge.Cloud |
getAnonymousCloud()
This method should return a cloud that has the role of an anonymous cloud |
org.mmbase.bridge.Cloud |
getCloud()
This is the default method to get an MMBase cloud instance. |
void |
setProperty(java.lang.String name,
java.lang.String value)
Allows the cloudname and cloudcontextname to be set |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String DEFAULT_CLOUD_NAME
public static final java.lang.String CLOUDNAME_PROPERTY_NAME
setProperty(String, String),
Constant Field Valuespublic static final java.lang.String CLOUDCONTEXTNAME_PROPERTY_NAME
setProperty(String, String),
Constant Field Valuesprotected java.lang.String cloudcontextname
protected java.lang.String cloudname
| Constructor Detail |
|---|
public DefaultCloudProvider()
| Method Detail |
|---|
public org.mmbase.bridge.Cloud getAnonymousCloud()
CloudProvider
getAnonymousCloud in interface CloudProviderCloudProvider.getAnonymousCloud()public org.mmbase.bridge.Cloud getAdminCloud()
CloudProvider
getAdminCloud in interface CloudProviderCloudProvider.getAdminCloud()public org.mmbase.bridge.Cloud getCloud()
CloudProvider
getCloud in interface CloudProviderCloudProvider.getCloud()
public void setProperty(java.lang.String name,
java.lang.String value)
setProperty in interface Configurablename - name of propertyvalue - value of property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||