Interface ConfigurationFactory

    • Method Detail

      • getInstance

        static ConfigurationFactory getInstance()
        Returns a new factory. The factory with the lowest priority will be selected.
        Returns:
        the new factory
        Throws:
        RuntimeException - if the service loader could not find a factory
      • getConfiguration

        default Configuration getConfiguration()
        Returns the configuration for the current context.
        Returns:
        the configuration
      • getConfiguration

        default Configuration getConfiguration​(ResteasyConfiguration config)
        Returns the configuration for the current context.
        Parameters:
        config - a configuration used to resolve default values, if null a default resolver will be used
        Returns:
        the configuration
      • priority

        int priority()
        The ranking priority for the this factory. The lowest priority will be the one selected.
        Returns:
        the priority