Class ForcedLeafBindingFactory

    • Constructor Detail

      • ForcedLeafBindingFactory

        public ForcedLeafBindingFactory()
    • Method Detail

      • maybeCreate

        public java.util.Optional<LeafBinding> maybeCreate​(BindingType bindingType,
                                                           ConfigBinder configBinder)
        Specified by:
        maybeCreate in interface ConfigBindingFactory<LeafBinding>
        Parameters:
        bindingType - java-type and binding context to be processed
        configBinder - the binder holding together all the factories
        Returns:
        a binding if this factory can process this bindingType, empty otherwise