Interface Operator.ConfigurationAccessor

Enclosing class:
Operator

public static interface Operator.ConfigurationAccessor
Provides access to configuration information for use by operators and adapters, available from the server's configuration file. Usually used in conjunction with a ConfigurationChooserPropertyDescriptor.
Since:
7.5 initial release
  • Method Summary

    Modifier and Type
    Method
    Description
    Return all nodes that satisfy the given xpath expression, within the adapter/operator configuration area of the StreamBase Server's configuration file.
  • Method Details

    • getConfigurationBlocksAsXML

      NodeList getConfigurationBlocksAsXML(String xpath) throws XPathExpressionException
      Return all nodes that satisfy the given xpath expression, within the adapter/operator configuration area of the StreamBase Server's configuration file. This area is currently defined as the nodes contained within the adapter-configurations element.

      Behaviour is undefined if the xpath expression traverses upwards to parent nodes.

      Parameters:
      xpath - the xpath expression to evaluate
      Returns:
      a never-null NodeList given the input expression
      Throws:
      XPathExpressionException - invalid xpath expression