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 -
Method Summary
Modifier and TypeMethodDescriptioninvoke(org.aopalliance.intercept.MethodInvocation invocation) voidsetBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) voidsetTargetBeanName(String targetBeanName) Methods inherited from class org.springframework.aop.scope.ScopedProxyFactoryBean
getObject, getObjectType, isSingletonMethods inherited from class org.springframework.aop.framework.ProxyConfig
copyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setFrozen, setOpaque, setOptimize, setProxyTargetClass, toString
-
Constructor Details
-
LockedScopedProxyFactoryBean
-
-
Method Details
-
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) - Specified by:
setBeanFactoryin interfaceorg.springframework.beans.factory.BeanFactoryAware- Overrides:
setBeanFactoryin classorg.springframework.aop.scope.ScopedProxyFactoryBean
-
setTargetBeanName
- Overrides:
setTargetBeanNamein classorg.springframework.aop.scope.ScopedProxyFactoryBean
-
invoke
- Specified by:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor- Throws:
Throwable
-