Class GenericScope.LockedScopedProxyFactoryBean<S extends GenericScope>

java.lang.Object
org.springframework.aop.framework.ProxyConfig
org.springframework.aop.scope.ScopedProxyFactoryBean
org.springframework.cloud.context.scope.GenericScope.LockedScopedProxyFactoryBean<S>
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:
  • Field Summary

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

    OBJECT_TYPE_ATTRIBUTE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LockedScopedProxyFactoryBean

      public LockedScopedProxyFactoryBean(S scope)
  • Method Details

    • 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