Class GenericScope.LockedScopedProxyFactoryBean<S extends GenericScope>

  • Type Parameters:
    S - - a generic scope extension
    All Implemented Interfaces:
    Serializable, org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.aop.framework.AopInfrastructureBean, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<Object>
    Enclosing class:
    GenericScope

    public static class GenericScope.LockedScopedProxyFactoryBean<S extends GenericScope>
    extends org.springframework.aop.scope.ScopedProxyFactoryBean
    implements org.aopalliance.intercept.MethodInterceptor
    A factory bean with a locked scope.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface org.springframework.beans.factory.FactoryBean

        OBJECT_TYPE_ATTRIBUTE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Object invoke​(org.aopalliance.intercept.MethodInvocation invocation)  
      void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)  
      void setTargetBeanName​(String targetBeanName)  
      • Methods inherited from class org.springframework.aop.scope.ScopedProxyFactoryBean

        getObject, getObjectType, isSingleton
      • Methods inherited from class org.springframework.aop.framework.ProxyConfig

        copyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setFrozen, setOpaque, setOptimize, setProxyTargetClass, toString
    • Constructor Detail

      • LockedScopedProxyFactoryBean

        public LockedScopedProxyFactoryBean​(S scope)
    • Method Detail

      • setBeanFactory

        public void setBeanFactory​(org.springframework.beans.factory.BeanFactory beanFactory)
        Specified by:
        setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
        Overrides:
        setBeanFactory in class org.springframework.aop.scope.ScopedProxyFactoryBean
      • setTargetBeanName

        public void setTargetBeanName​(String targetBeanName)
        Overrides:
        setTargetBeanName in class org.springframework.aop.scope.ScopedProxyFactoryBean
      • invoke

        public Object invoke​(org.aopalliance.intercept.MethodInvocation invocation)
                      throws Throwable
        Specified by:
        invoke in interface org.aopalliance.intercept.MethodInterceptor
        Throws:
        Throwable