public class SubsystemProxyFactory
extends org.springframework.aop.framework.ProxyFactoryBean
implements org.springframework.context.ApplicationContextAware
ChildApplicationContextFactory allowing selected
interfaces in a child application context to be proxied by a bean in the parent application context. This allows
'hot-swapping' and reconfiguration of entire subsystems.| Constructor and Description |
|---|
SubsystemProxyFactory()
Instantiates a new managed subsystem proxy factory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setDefaultBean(java.lang.Object defaultBean)
Sets an optional default bean to be used if the target bean is not found.
|
void |
setInterfaces(java.lang.Class[] interfaces) |
void |
setSourceApplicationContextFactory(ApplicationContextFactory sourceApplicationContextFactory)
Sets the source application context factory by reference
|
void |
setSourceApplicationContextFactoryName(java.lang.String sourceApplicationContextFactoryName)
Sets the source application context factory by name.
|
void |
setSourceBeanName(java.lang.String sourceBeanName)
Sets an optional bean name to target all calls to in the source application context.
|
adviceChanged, createCompositeInterface, getObject, getObjectType, getProxy, isSingleton, setAdvisorAdapterRegistry, setAutodetectInterfaces, setBeanClassLoader, setBeanFactory, setFrozen, setInterceptorNames, setProxyClassLoader, setProxyInterfaces, setSingleton, setTargetNameaddListener, createAopProxy, getAopProxyFactory, isActive, removeListener, setAopProxyFactoryaddAdvice, addAdvice, addAdvisor, addAdvisor, addAdvisors, addAdvisors, addAllAdvisors, addInterface, adviceIncluded, copyConfigurationFrom, copyConfigurationFrom, countAdvicesOfType, getAdvisorChainFactory, getAdvisors, getAdvisorsInternal, getInterceptorsAndDynamicInterceptionAdvice, getProxiedInterfaces, getTargetClass, getTargetSource, indexOf, indexOf, isInterfaceProxied, isPreFiltered, removeAdvice, removeAdvisor, removeAdvisor, removeInterface, replaceAdvisor, setAdvisorChainFactory, setPreFiltered, setTarget, setTargetClass, setTargetSource, toProxyConfigString, toString, updateAdvisorArraycopyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setOpaque, setOptimize, setProxyTargetClasspublic SubsystemProxyFactory()
public void setInterfaces(java.lang.Class[] interfaces)
setInterfaces in class org.springframework.aop.framework.AdvisedSupportpublic void setSourceApplicationContextFactoryName(java.lang.String sourceApplicationContextFactoryName)
sourceApplicationContextFactoryName - the name of the sourceApplicationContextFactory to setpublic void setSourceApplicationContextFactory(ApplicationContextFactory sourceApplicationContextFactory)
sourceApplicationContextFactory - the sourceApplicationContextFactory to setpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setSourceBeanName(java.lang.String sourceBeanName)
sourceBeanName - the sourceBeanName to setpublic void setDefaultBean(java.lang.Object defaultBean)
sourceBeanName - the sourceBeanName to setCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.