public abstract class AbstractContractFactoryBean extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.FactoryBean, org.springframework.context.ApplicationContextAware
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext
spring context
|
protected String |
beanId
bean id
|
protected BindingAdapterFactory |
bindingAdapterFactory
binding adapter factory
|
protected BindingConverterFactory |
bindingConverterFactory
binding converter factory
|
protected List<Binding> |
bindings
bindings
|
protected String |
documentEncoding
document encoding
|
protected List<org.springframework.beans.factory.config.TypedStringValue> |
elements
xml elements
|
protected Class<?> |
interfaceClass
interface class type
|
protected String |
interfaceType
interface class name
|
protected String |
repeatReferLimit
repeat times
|
protected SofaRuntimeContext |
sofaRuntimeContext
sofa runtime context
|
protected String |
uniqueId
unique id
|
| 构造器和说明 |
|---|
AbstractContractFactoryBean() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
protected abstract void |
doAfterPropertiesSet() |
String |
getBeanId() |
List<Binding> |
getBindings() |
Class<?> |
getInterfaceClass() |
protected abstract boolean |
isInBinding()
is in binding or not
|
boolean |
isSingleton() |
protected List<Binding> |
parseBindings(List<Element> parseElements,
org.springframework.context.ApplicationContext appContext,
boolean isInBinding) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setBeanId(String beanId) |
void |
setDocumentEncoding(String documentEncoding) |
void |
setElements(List<org.springframework.beans.factory.config.TypedStringValue> elements) |
void |
setInterfaceType(String interfaceType) |
protected abstract void |
setProperties(BindingConverterContext bindingConverterContext) |
void |
setRepeatReferLimit(String repeatReferLimit) |
void |
setUniqueId(String uniqueId) |
protected String beanId
protected String uniqueId
protected String interfaceType
protected Class<?> interfaceClass
protected SofaRuntimeContext sofaRuntimeContext
protected List<org.springframework.beans.factory.config.TypedStringValue> elements
protected org.springframework.context.ApplicationContext applicationContext
protected String documentEncoding
protected String repeatReferLimit
protected BindingConverterFactory bindingConverterFactory
protected BindingAdapterFactory bindingAdapterFactory
public void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanExceptionprotected List<Binding> parseBindings(List<Element> parseElements, org.springframework.context.ApplicationContext appContext, boolean isInBinding)
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic Class<?> getInterfaceClass()
public void setUniqueId(String uniqueId)
public void setInterfaceType(String interfaceType)
public void setElements(List<org.springframework.beans.factory.config.TypedStringValue> elements)
public void setDocumentEncoding(String documentEncoding)
public void setRepeatReferLimit(String repeatReferLimit)
public String getBeanId()
public void setBeanId(String beanId)
public boolean isSingleton()
isSingleton 在接口中 org.springframework.beans.factory.FactoryBeanprotected abstract boolean isInBinding()
protected abstract void setProperties(BindingConverterContext bindingConverterContext)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.