public class SpaceConfigFactory extends Object
Constructor and Description |
---|
SpaceConfigFactory() |
Modifier and Type | Method and Description |
---|---|
static SpaceConfig |
createSpaceConfig(Properties schemaProps,
ClusterPolicy m_ClusterPolicy,
String containerName,
boolean isSchema,
String fullSpaceSchemaLocation) |
static void |
performSaveAs(File selFile,
String spaceName,
String containerName,
JSpaceAttributes spaceAttributes)
Save content of SpaceAttributes instance into xml file( schema or configuration ).
|
static void |
writeDOMToFile(InputStream is,
File selFile) |
public static SpaceConfig createSpaceConfig(Properties schemaProps, ClusterPolicy m_ClusterPolicy, String containerName, boolean isSchema, String fullSpaceSchemaLocation) throws IOException, SAXException, ParserConfigurationException, SpaceConfigurationException
public static void performSaveAs(File selFile, String spaceName, String containerName, JSpaceAttributes spaceAttributes)
selFile
- - In this file configuration will be savedspaceName
- - space name, relevant if value of isUseSchema is falsecontainerName
- container owner namespaceAttributes
- - attributes of space to be savedpublic static void writeDOMToFile(InputStream is, File selFile) throws Exception
Exception
Copyright © GigaSpaces.