Interface ConfigurationProcessor


public interface ConfigurationProcessor
A ConfigurationProcessor for non XmlConfiguration format files.

A file in non-XmlConfiguration file format may be processed by a ConfigurationProcessor instance that is returned from a ConfigurationProcessorFactory instance discovered by the ServiceLoader mechanism. This is used to allow spring configuration files to be used instead of jetty.xml

  • Method Details

    • init

      void init(Resource resource, XmlParser.Node root, XmlConfiguration configuration)
      Initialize a ConfigurationProcessor from provided Resource and XML
      Parameters:
      resource - the resource being read
      root - the parsed XML root node for the resource
      configuration - the configuration being used (typically for ref IDs)
    • configure

      Object configure(Object obj) throws Exception
      Throws:
      Exception
    • configure

      Object configure() throws Exception
      Throws:
      Exception