类 DefaultAdvisorAutoProxyCreator

    • 方法详细资料

      • isUsePrefix

        public boolean isUsePrefix()
        Return whether to only include advisors with a certain prefix in the bean name.
      • setAdvisorBeanNamePrefix

        public void setAdvisorBeanNamePrefix​(String advisorBeanNamePrefix)
        Set the prefix for bean names that will cause them to be included for auto-proxying by this object. This prefix should be set to avoid circular references. Default value is the bean name of this object + a dot.
        参数:
        advisorBeanNamePrefix - the exclusion prefix
      • getAdvisorBeanNamePrefix

        public String getAdvisorBeanNamePrefix()
        Return the prefix for bean names that will cause them to be included for auto-proxying by this object.
      • setBeanName

        public void setBeanName​(String name)
        从接口复制的说明: BeanNameAware
        Set the name of the bean in the bean factory that created this bean.

        Invoked after population of normal bean properties but before an init callback such as InitializingBean.afterPropertiesSet() or a custom init-method.

        指定者:
        setBeanName 在接口中 BeanNameAware
        参数:
        name - the name of the bean in the factory. Note that this name is the actual bean name used in the factory, which may differ from the originally specified name: in particular for inner bean names, the actual bean name might have been made unique through appending "#..." suffixes. Use the BeanFactoryUtils.originalBeanName(String) method to extract the original bean name (without suffix), if desired.