Interface SchemaProviderCfg

All Superinterfaces:
Configuration
All Known Subinterfaces:
CoreSchemaCfg, JsonEqualityMatchingRuleCfg, JsonOrderingMatchingRuleCfg, JsonQueryEqualityMatchingRuleCfg, NameAndJsonQueryEqualityMatchingRuleCfg

public interface SchemaProviderCfg extends Configuration
A server-side interface for querying Schema Provider settings.

Schema Providers define the schema elements to load.

  • Method Details

    • configurationClass

      Class<? extends SchemaProviderCfg> configurationClass()
      Gets the configuration class associated with this Schema Provider.
      Specified by:
      configurationClass in interface Configuration
      Returns:
      Returns the configuration class associated with this Schema Provider.
    • addChangeListener

      void addChangeListener(ConfigurationChangeListener<SchemaProviderCfg> listener)
      Register to be notified when this Schema Provider is changed.
      Parameters:
      listener - The Schema Provider configuration change listener.
    • removeChangeListener

      void removeChangeListener(ConfigurationChangeListener<SchemaProviderCfg> listener)
      Deregister an existing Schema Provider configuration change listener.
      Parameters:
      listener - The Schema Provider configuration change listener.
    • isEnabled

      boolean isEnabled()
      Gets the "enabled" property.

      Indicates whether the Schema Provider is enabled for use.

      Returns:
      Returns the value of the "enabled" property.
    • getJavaClass

      String getJavaClass()
      Gets the "java-class" property.

      Specifies the fully-qualified name of the Java class that provides the Schema Provider implementation.

      Returns:
      Returns the value of the "java-class" property.