com.alibaba.dubbo.config.spring
Class ReferenceBean<T>
java.lang.Object
com.alibaba.dubbo.config.AbstractConfig
com.alibaba.dubbo.config.AbstractMethodConfig
com.alibaba.dubbo.config.AbstractInterfaceConfig
com.alibaba.dubbo.config.AbstractReferenceConfig
com.alibaba.dubbo.config.ReferenceConfig<T>
com.alibaba.dubbo.config.spring.ReferenceBean<T>
- All Implemented Interfaces:
- Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
public class ReferenceBean<T>
- extends ReferenceConfig<T>
- implements org.springframework.beans.factory.FactoryBean, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
ReferenceFactoryBean
- Author:
- william.liangf
- See Also:
- Serialized Form
Methods inherited from class com.alibaba.dubbo.config.ReferenceConfig |
destroy, get, getClient, getConsumer, getInterface, getInterfaceClass, getMethods, getProtocol, getUrl, setClient, setConsumer, setInterface, setInterface, setInterfaceClass, setMethods, setProtocol, setUrl, toUrl, toUrls |
Methods inherited from class com.alibaba.dubbo.config.AbstractReferenceConfig |
getFilter, getGeneric, getGroup, getLazy, getListener, getReconnect, getSticky, getStubevent, getVersion, isCheck, isGeneric, isInit, isInjvm, setCheck, setGeneric, setGeneric, setGroup, setInit, setInjvm, setLazy, setListener, setOnconnect, setOndisconnect, setReconnect, setSticky, setVersion |
Methods inherited from class com.alibaba.dubbo.config.AbstractInterfaceConfig |
getApplication, getCallbacks, getCluster, getConnections, getLayer, getLocal, getModule, getMonitor, getOnconnect, getOndisconnect, getOwner, getProxy, getRegistries, getRegistry, getScope, getStub, setApplication, setCallbacks, setCluster, setConnections, setFilter, setLayer, setLocal, setLocal, setModule, setMonitor, setMonitor, setOwner, setProxy, setRegistries, setRegistry, setScope, setStub, setStub |
Methods inherited from class com.alibaba.dubbo.config.AbstractMethodConfig |
getActives, getCache, getLoadbalance, getMerger, getMock, getParameters, getRetries, getSent, getTimeout, getValidation, isAsync, setActives, setAsync, setCache, setLoadbalance, setMerger, setMock, setMock, setParameters, setRetries, setSent, setTimeout, setValidation |
Methods inherited from interface org.springframework.beans.factory.DisposableBean |
destroy |
ReferenceBean
public ReferenceBean()
ReferenceBean
public ReferenceBean(Reference reference)
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
getObject
public Object getObject()
throws Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
getObjectType
public Class<?> getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
isSingleton
@Parameter(excluded=true)
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
Copyright © 2012–2017 Alibaba. All rights reserved.