|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable<Object,Object>
java.util.Properties
com.j_spaces.core.JSpaceAttributes
com.j_spaces.core.admin.SpaceConfig
public class SpaceConfig
This structure contains all information about space configuration.
SpaceConfig builds inside of Server and transfered to the
side of client.
IRemoteJSpaceAdmin.getConfig(),
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.j_spaces.core.JSpaceAttributes |
|---|
m_isClustered |
| Constructor Summary | |
|---|---|
SpaceConfig(String spaceName,
Properties prop,
String containerName,
String schemaPath)
Creates SpaceConfig with the provided space name, using the given Properties. |
|
SpaceConfig(String spaceName,
String containerName)
Creates SpaceConfig with the provided space name. |
|
| Method Summary | |
|---|---|
boolean |
containsKey(Object key)
|
String |
getContainerName()
Return container owner name |
String |
getProperty(String key)
|
String |
getPropertyFromSuper(String key)
Returns the property without using the space name. |
String |
getSchemaPath()
Returns space schema file path |
String |
getSpaceName()
Returns the space name. |
boolean |
isSpaceDefinitionEqual(SpaceConfig spaceConfig)
Compares current SpaceConfig to a given one. |
Object |
setProperty(String key,
String value)
Overrides method of super class. |
void |
setSchemaPath(String schemaName)
Sets space schema file path |
void |
setSpaceName(String spaceName)
Set the space name. |
String |
toString()
|
| Methods inherited from class java.util.Properties |
|---|
getProperty, list, list, load, loadFromXML, propertyNames, save, store, storeToXML, storeToXML |
| Methods inherited from class java.util.Hashtable |
|---|
contains, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpaceConfig(String spaceName,
String containerName)
spaceName - the space namecontainerName - container owner name
public SpaceConfig(String spaceName,
Properties prop,
String containerName,
String schemaPath)
Properties.
spaceName - the space nameprop - properties for the SpaceConfigcontainerName - container owner nameschemaPath - path to space schema file| Method Detail |
|---|
public String getSpaceName()
public void setSpaceName(String spaceName)
spaceName - the new space namepublic String getSchemaPath()
public void setSchemaPath(String schemaName)
schemaName - path to space schema file ( including host IP address )public String getProperty(String key)
getProperty in class Properties
public Object setProperty(String key,
String value)
setProperty in class JSpaceAttributeskey - the key to be placed into this property list.value - the value corresponding to key.public boolean isSpaceDefinitionEqual(SpaceConfig spaceConfig)
spaceConfig - the target to SpaceConfig to compare
true if equalspublic String getPropertyFromSuper(String key)
key - the property key.
public String toString()
toString in class JSpaceAttributespublic boolean containsKey(Object key)
containsKey in interface Map<Object,Object>containsKey in class Hashtable<Object,Object>public String getContainerName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||