|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.core.AttributeAccessorSupport
org.springframework.beans.BeanMetadataAttributeAccessor
org.springframework.beans.factory.support.AbstractBeanDefinition
org.springframework.beans.factory.support.GenericBeanDefinition
org.axonframework.contextsupport.spring.AutowiredBean
public class AutowiredBean
Special type of BeanDefinition that references can be use to explicitly define a property as being autowired. Autowiring is only successful if exactly one bean is available of the given type.
Internally, this BeanDefintion creates a FactoryBean definition that loads the class from the application context.
| Field Summary |
|---|
| Fields inherited from class org.springframework.beans.factory.support.AbstractBeanDefinition |
|---|
AUTOWIRE_AUTODETECT, AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_CONSTRUCTOR, AUTOWIRE_NO, DEPENDENCY_CHECK_ALL, DEPENDENCY_CHECK_NONE, DEPENDENCY_CHECK_OBJECTS, DEPENDENCY_CHECK_SIMPLE, INFER_METHOD, SCOPE_DEFAULT |
| Fields inherited from interface org.springframework.beans.factory.config.BeanDefinition |
|---|
ROLE_APPLICATION, ROLE_INFRASTRUCTURE, ROLE_SUPPORT, SCOPE_PROTOTYPE, SCOPE_SINGLETON |
| Constructor Summary | |
|---|---|
AutowiredBean(Class<?> autowiredType)
Creates an autowired dependency on the given autowiredType. |
|
| Method Summary |
|---|
| Methods inherited from class org.springframework.beans.factory.support.GenericBeanDefinition |
|---|
cloneBeanDefinition, equals, getParentName, setParentName, toString |
| Methods inherited from class org.springframework.beans.factory.support.AbstractBeanDefinition |
|---|
addQualifier, applyDefaults, clone, copyQualifiersFrom, getAutowireMode, getBeanClass, getBeanClassName, getConstructorArgumentValues, getDependencyCheck, getDependsOn, getDescription, getDestroyMethodName, getFactoryBeanName, getFactoryMethodName, getInitMethodName, getMethodOverrides, getOriginatingBeanDefinition, getPropertyValues, getQualifier, getQualifiers, getResolvedAutowireMode, getResource, getResourceDescription, getRole, getScope, hasBeanClass, hasConstructorArgumentValues, hashCode, hasQualifier, isAbstract, isAutowireCandidate, isEnforceDestroyMethod, isEnforceInitMethod, isLazyInit, isLenientConstructorResolution, isNonPublicAccessAllowed, isPrimary, isPrototype, isSingleton, isSynthetic, overrideFrom, overrideFrom, prepareMethodOverride, prepareMethodOverrides, resolveBeanClass, setAbstract, setAutowireCandidate, setAutowireMode, setBeanClass, setBeanClassName, setConstructorArgumentValues, setDependencyCheck, setDependsOn, setDescription, setDestroyMethodName, setEnforceDestroyMethod, setEnforceInitMethod, setFactoryBeanName, setFactoryMethodName, setInitMethodName, setLazyInit, setLenientConstructorResolution, setMethodOverrides, setNonPublicAccessAllowed, setOriginatingBeanDefinition, setPrimary, setPropertyValues, setResource, setResourceDescription, setRole, setScope, setSingleton, setSynthetic, validate |
| Methods inherited from class org.springframework.beans.BeanMetadataAttributeAccessor |
|---|
addMetadataAttribute, getAttribute, getMetadataAttribute, getSource, removeAttribute, setAttribute, setSource |
| Methods inherited from class org.springframework.core.AttributeAccessorSupport |
|---|
attributeNames, copyAttributesFrom, hasAttribute |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.springframework.core.AttributeAccessor |
|---|
attributeNames, getAttribute, hasAttribute, removeAttribute, setAttribute |
| Methods inherited from interface org.springframework.beans.BeanMetadataElement |
|---|
getSource |
| Constructor Detail |
|---|
public AutowiredBean(Class<?> autowiredType)
autowiredType.
autowiredType - The type of bean to autowire.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||