public class WxInvokerProxyFactoryBean<T> extends Object implements org.springframework.beans.factory.InitializingBean, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.FactoryBean<T>
| Constructor and Description |
|---|
WxInvokerProxyFactoryBean(Class<T> clazz,
WxProperties wxProperties,
WxApiExecutor wxApiExecutor)
理论上构造方法上不能做这么多事的,以后再优化
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
ClassLoader |
getBeanClassLoader() |
T |
getObject() |
Class<?> |
getObjectType() |
Object |
invoke(org.aopalliance.intercept.MethodInvocation inv)
后续加上缓存,一定要加
|
boolean |
isSingleton() |
void |
setBeanClassLoader(ClassLoader classLoader) |
public WxInvokerProxyFactoryBean(Class<T> clazz, WxProperties wxProperties, WxApiExecutor wxApiExecutor)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface org.springframework.beans.factory.BeanClassLoaderAwarepublic ClassLoader getBeanClassLoader()
public Object invoke(org.aopalliance.intercept.MethodInvocation inv) throws Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorinv - Throwablepublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<T>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<T>Copyright © 2018 Guangshan Technology, Inc.. All rights reserved.