Class SpringConfigurationProcessor

    • Constructor Detail

      • SpringConfigurationProcessor

        public SpringConfigurationProcessor()
    • Method Detail

      • init

        public void init​(Resource jettyResource,
                         XmlParser.Node config,
                         XmlConfiguration configuration)
        Description copied from interface: ConfigurationProcessor
        Initialize a ConfigurationProcessor from provided Resource and XML
        Specified by:
        init in interface ConfigurationProcessor
        Parameters:
        jettyResource - the resource being read
        config - the parsed XML root node for the resource
        configuration - the configuration being used (typically for ref IDs)
      • configure

        public java.lang.Object configure​(java.lang.Object obj)
                                   throws java.lang.Exception
        Specified by:
        configure in interface ConfigurationProcessor
        Throws:
        java.lang.Exception
      • configure

        public java.lang.Object configure()
                                   throws java.lang.Exception
        Return a configured bean. If a bean has the id or alias of "Main", then it is returned, otherwise the first bean in the file is returned.
        Specified by:
        configure in interface ConfigurationProcessor
        Throws:
        java.lang.Exception
        See Also:
        ConfigurationProcessor.configure()