Interface Configurer

  • All Known Implementing Classes:
    ConfigurerImpl, ConfigurerImpl, NullConfigurer

    public interface Configurer
    The configurer's interface A class that implements this interface will perform a bean's configuration work
    • Method Detail

      • configureBean

        void configureBean​(Object beanInstance)
        set up the Bean's value by using Dependency Injection from the application context
        Parameters:
        beanInstance - the instance of the bean which needs to be configured
      • configureBean

        void configureBean​(String name,
                           Object beanInstance)
        set up the Bean's value by using Dependency Injection from the application context with a proper name. You can use * as the prefix of wildcard name.
        Parameters:
        name - the name of the bean which needs to be configured
        beanInstance - the instance of bean which need to be configured