Interface PropertyConfigurerAware


public interface PropertyConfigurerAware
Implemented by objects that can supply the PropertyConfigurer for a given bean instance.

This lets Camel obtain the fast, reflection-free configurer for a target without looking it up separately, for example when a Component provides the configurer for the endpoints it creates. The returned configurer is then used to bind properties during bootstrap.

See Property Binding in the Camel user manual.

Since:
3.0
See Also:
  • Method Details

    • getPropertyConfigurer

      @Nullable PropertyConfigurer getPropertyConfigurer(Object instance)
      Gets the PropertyConfigurer for the given bean instance.
      Parameters:
      instance - the bean instance
      Returns:
      the configurer, or null if none is available