Class ApplicationConfigurationBinder

    • Constructor Detail

      • ApplicationConfigurationBinder

        public ApplicationConfigurationBinder()
    • Method Detail

      • bind

        public ApplicationConfiguration bind​(InputStream stream)
        Returns the application configuration from its XML serialisation.
        Parameters:
        stream - the serialisation
        Returns:
        the configuration
        Throws:
        RuntimeException - if the serialisation is invalid
      • bindHandlers

        public ApplicationHandlers bindHandlers​(InputStream stream)
        Returns the handlers of the application from their XML serialisation.
        Parameters:
        stream - the serialisation
        Returns:
        the handlers
        Throws:
        RuntimeException - if the serialisation is invalid
      • bindExtensions

        public ApplicationExtensions bindExtensions​(InputStream stream)
        Returns the extensions of the application from their XML serialisation.
        Parameters:
        stream - the serialisation
        Returns:
        the extensions
        Throws:
        RuntimeException - if the serialisation is invalid