Class JsonSchemaListener

  • All Implemented Interfaces:
    EventListener, org.osgi.framework.BundleListener, org.osgi.framework.SynchronousBundleListener

    public class JsonSchemaListener
    extends Object
    implements org.osgi.framework.SynchronousBundleListener
    An implementation of a BundleListener for the JSON schema. It will load the pre-defined schema files in the folder META-INF/cxs/schemas. It will load the extension of schema in the folder META-INF/cxs/schemasextensions. The scripts will be stored in the ES index jsonSchema and the extension will be stored in jsonSchemaExtension
    • Constructor Detail

      • JsonSchemaListener

        public JsonSchemaListener()
    • Method Detail

      • setSchemaService

        public void setSchemaService​(SchemaService schemaService)
      • setBundleContext

        public void setBundleContext​(org.osgi.framework.BundleContext bundleContext)
      • postConstruct

        public void postConstruct()
      • preDestroy

        public void preDestroy()
      • bundleChanged

        public void bundleChanged​(org.osgi.framework.BundleEvent event)
        Specified by:
        bundleChanged in interface org.osgi.framework.BundleListener