接口 DynamicPropertyRegistry

    • 方法详细资料

      • add

        void add​(String name,
                 Supplier<Object> valueSupplier)
        Add a Supplier for the given property name to this registry.
        参数:
        name - the name of the property for which the supplier should be added
        valueSupplier - a supplier that will provide the property value on demand