Class SchemaInitManager


  • public final class SchemaInitManager
    extends java.lang.Object
    TODO: Javadoc.
    • 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 by SchemaInitManager. 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 by SchemaInitManager. 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