com.alibaba.dubbo.config.spring
Class ServiceBean<T>
java.lang.Object
com.alibaba.dubbo.config.AbstractConfig
com.alibaba.dubbo.config.AbstractMethodConfig
com.alibaba.dubbo.config.AbstractInterfaceConfig
com.alibaba.dubbo.config.AbstractServiceConfig
com.alibaba.dubbo.config.ServiceConfig<T>
com.alibaba.dubbo.config.spring.ServiceBean<T>
- All Implemented Interfaces:
- Serializable, EventListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener
public class ServiceBean<T>
- extends ServiceConfig<T>
- implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener, org.springframework.beans.factory.BeanNameAware
ServiceFactoryBean
- Author:
- william.liangf
- See Also:
- Serialized Form
Methods inherited from class com.alibaba.dubbo.config.ServiceConfig |
export, getExportedUrls, getGeneric, getInterface, getInterfaceClass, getMethods, getPath, getProvider, getProviders, getRef, isExported, isUnexported, setGeneric, setInterface, setInterface, setInterfaceClass, setMethods, setPath, setProvider, setProviders, setRef, toUrl, toUrls, unexport |
Methods inherited from class com.alibaba.dubbo.config.AbstractServiceConfig |
getAccesslog, getDelay, getDocument, getExecutes, getExport, getFilter, getGroup, getListener, getProtocol, getProtocols, getToken, getVersion, getWeight, isDeprecated, isDynamic, isRegister, setAccesslog, setAccesslog, setDelay, setDeprecated, setDocument, setDynamic, setExecutes, setExport, setGroup, setListener, setProtocol, setProtocols, setRegister, setToken, setToken, setVersion, setWeight |
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, setOnconnect, setOndisconnect, 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 |
ServiceBean
public ServiceBean()
ServiceBean
public ServiceBean(Service service)
getSpringContext
public static org.springframework.context.ApplicationContext getSpringContext()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
setBeanName
public void setBeanName(String name)
- Specified by:
setBeanName
in interface org.springframework.beans.factory.BeanNameAware
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
- Specified by:
onApplicationEvent
in interface org.springframework.context.ApplicationListener
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
- Throws:
Exception
Copyright © 2012–2017 Alibaba. All rights reserved.