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
| Constructor and Description |
|---|
ReferenceBean() |
ReferenceBean(Reference reference) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
destroy() |
Object |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
get, getClient, getConsumer, getInterface, getInterfaceClass, getMethods, getProtocol, getUniqueServiceName, getUrl, setClient, setConsumer, setInterface, setInterface, setInterfaceClass, setMethods, setProtocol, setUrl, toUrl, toUrlsgetFilter, getGeneric, getGroup, getLazy, getListener, getReconnect, getSticky, getStubevent, getVersion, isCheck, isGeneric, isInit, isInjvm, setCheck, setGeneric, setGeneric, setGroup, setInit, setInjvm, setLazy, setListener, setOnconnect, setOndisconnect, setReconnect, setSticky, setVersiongetApplication, 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, setStubgetActives, getCache, getForks, getLoadbalance, getMerger, getMock, getParameters, getRetries, getSent, getTimeout, getValidation, isAsync, setActives, setAsync, setCache, setForks, setLoadbalance, setMerger, setMock, setMock, setParameters, setRetries, setSent, setTimeout, setValidationgetId, setId, toStringpublic ReferenceBean()
public ReferenceBean(Reference reference)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAwarepublic Object getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBeanExceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean@Parameter(excluded=true) public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBeanpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeandestroy in class ReferenceConfig<T>Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.