public class ContainerConfigFactory extends Object
Constructor and Description |
---|
ContainerConfigFactory() |
Modifier and Type | Method and Description |
---|---|
static File |
createContainerSchemaFile(String schemaPrefixFileName,
String containerSchemaFilePath)
This method creates container schema.configuration file with default definitions.
|
static String |
getContainerSchemaPathName(String containerName) |
static void |
performSaveAs(String schemaPrefixFileName,
String selFilePath,
ContainerConfig containerConfig)
Save content of ContainerConfig instance into xml file( schema or configuration ).
|
static void |
updateFile(ContainerConfig config,
String containerConfigURL,
String schemaPrefixFileName)
Pass through container configuration/schema XML file and change its values according to
properties saved in ContainerConfig instance.
|
public static void performSaveAs(String schemaPrefixFileName, String selFilePath, ContainerConfig containerConfig)
selFilePath
- In this file configuration will be savedpublic static File createContainerSchemaFile(String schemaPrefixFileName, String containerSchemaFilePath) throws RemoteException
RemoteException
public static void updateFile(ContainerConfig config, String containerConfigURL, String schemaPrefixFileName) throws IOException
IOException
Copyright © GigaSpaces.