Package com.im.ijc.core.api.util
Class SchemaInitManager
- java.lang.Object
-
- com.im.ijc.core.api.util.SchemaInitManager
-
public final class SchemaInitManager extends java.lang.Object
TODO: Javadoc.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addSchemaInitListener(SchemaInitListener listener)
Adds a listener which will get notified about every schema opened bySchemaInitManager
.static com.im.df.api.DFSchemaProvider
findSchema(SchemaProviderCookie schemaCookieSupport, boolean forceInit)
static void
forceCloseSchema(com.im.df.api.DFSchemaProvider provider)
static java.util.Properties
readSchemaFile(org.openide.filesystems.FileObject schemaFile)
Loads connection properties from schema file.static void
removeSchemaInitListener(SchemaInitListener listener)
Removes a listener which was getting notified about every schema opened bySchemaInitManager
.
-
-
-
Method Detail
-
findSchema
public static com.im.df.api.DFSchemaProvider findSchema(SchemaProviderCookie schemaCookieSupport, boolean forceInit)
-
forceCloseSchema
public static void forceCloseSchema(com.im.df.api.DFSchemaProvider provider)
-
addSchemaInitListener
public static void addSchemaInitListener(SchemaInitListener listener)
Adds a listener which will get notified about every schema opened bySchemaInitManager
. This means all schemas opened in the IJC UI.- Parameters:
listener
- - listener to add- Since:
- 14.12.8
-
removeSchemaInitListener
public static void removeSchemaInitListener(SchemaInitListener listener)
Removes a listener which was getting notified about every schema opened bySchemaInitManager
. This means all schemas opened in the IJC UI.- Parameters:
listener
- - listener to remove- Since:
- 14.12.8
-
readSchemaFile
public static java.util.Properties readSchemaFile(org.openide.filesystems.FileObject schemaFile) throws java.io.IOException
Loads connection properties from schema file. Either from IJS file or DB connection template file.- Parameters:
schemaFile
- XML file- Returns:
- properties in
schemaFile
- Throws:
java.io.IOException
- when reading fails- Since:
- 19.24.0
-
-