com.streambase.sb.operator

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `NodeList` | `getConfigurationBlocksAsXML(String xpath)` Return all nodes that satisfy the given xpath expression, within the adapter/operator configuration area of the StreamBase Server's configuration file.

- - ### Method Detail

    - #### 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

Copyright © 2015–2018 Cloud Software Group, Inc.. All rights reserved.