类 ProxyProcessorSupport

    • 方法详细资料

      • setOrder

        public void setOrder​(int order)
        Set the ordering which will apply to this processor's implementation of Ordered, used when applying multiple processors.

        The default value is Ordered.LOWEST_PRECEDENCE, meaning non-ordered.

        参数:
        order - the ordering value
      • getOrder

        public int getOrder()
        从接口复制的说明: Ordered
        Get the order value of this object.

        Higher values are interpreted as lower priority. As a consequence, the object with the lowest value has the highest priority (somewhat analogous to Servlet load-on-startup values).

        Same order values will result in arbitrary sort positions for the affected objects.

        指定者:
        getOrder 在接口中 Ordered
        返回:
        the order value
        另请参阅:
        Ordered.HIGHEST_PRECEDENCE, Ordered.LOWEST_PRECEDENCE
      • setProxyClassLoader

        public void setProxyClassLoader​(ClassLoader classLoader)
        Set the ClassLoader to generate the proxy class in.

        Default is the bean ClassLoader, i.e. the ClassLoader used by the containing BeanFactory for loading all bean classes. This can be overridden here for specific proxies.

      • isConfigurationCallbackInterface

        protected boolean isConfigurationCallbackInterface​(Class<?> ifc)
        Determine whether the given interface is just a container callback and therefore not to be considered as a reasonable proxy interface.

        If no reasonable proxy interface is found for a given bean, it will get proxied with its full target class, assuming that as the user's intention.

        参数:
        ifc - the interface to check
        返回:
        whether the given interface is just a container callback
      • isInternalLanguageInterface

        protected boolean isInternalLanguageInterface​(Class<?> ifc)
        Determine whether the given interface is a well-known internal language interface and therefore not to be considered as a reasonable proxy interface.

        If no reasonable proxy interface is found for a given bean, it will get proxied with its full target class, assuming that as the user's intention.

        参数:
        ifc - the interface to check
        返回:
        whether the given interface is an internal language interface