BeanDefinition property defaults.
AbstractBeanDefinition#applyDefaults
| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private int | |
| private String | |
| private String | |
| private Boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public String | |
| public String | |
| public Boolean | Returns: the lazy-init flag if explicitly set, ornull otherwiseReturn whether beans should be lazily initialized by default, i.e. not eagerly instantiated on startup. |
| public boolean | Returns: whether to apply lazy-init semantics (false by default)Return whether beans should be lazily initialized by default, i.e. not eagerly instantiated on startup. |
| public void | setAutowireMode(int
the autowire mode to set.
Must be one of the constants defined in autowireMode)AbstractBeanDefinition.Set the autowire mode. |
| public void | setDependencyCheck(int
the code to set.
Must be one of the constants defined in dependencyCheck)AbstractBeanDefinition.Set the dependency check code. |
| public void | |
| public void | |
| public void |
| autowireMode | back to summary |
|---|---|
| private int autowireMode | |
| dependencyCheck | back to summary |
|---|---|
| private int dependencyCheck | |
| destroyMethodName | back to summary |
|---|---|
| private String destroyMethodName
| |
| initMethodName | back to summary |
|---|---|
| private String initMethodName
| |
| lazyInit | back to summary |
|---|---|
| private Boolean lazyInit
| |
| BeanDefinitionDefaults | back to summary |
|---|---|
| public BeanDefinitionDefaults() | |
| getAutowireMode | back to summary |
|---|---|
| public int getAutowireMode() Return the default autowire mode. | |
| getDependencyCheck | back to summary |
|---|---|
| public int getDependencyCheck() Return the default dependency check code. | |
| getDestroyMethodName | back to summary |
|---|---|
| public String getDestroyMethodName() Return the name of the default destroy method.
| |
| getInitMethodName | back to summary |
|---|---|
| public String getInitMethodName() Return the name of the default initializer method.
| |
| getLazyInit | back to summary |
|---|---|
| public Boolean getLazyInit() Return whether beans should be lazily initialized by default, i.e. not eagerly instantiated on startup. Only applicable to singleton beans. | |
| isLazyInit | back to summary |
|---|---|
| public boolean isLazyInit() Return whether beans should be lazily initialized by default, i.e. not eagerly instantiated on startup. Only applicable to singleton beans.
| |
| setAutowireMode | back to summary |
|---|---|
| public void setAutowireMode(int autowireMode) Set the autowire mode. This determines whether any automagical detection and setting of bean references will happen. Default is AUTOWIRE_NO which means there won't be convention-based autowiring by name or type (however, there may still be explicit annotation-driven autowiring).
| |
| setDependencyCheck | back to summary |
|---|---|
| public void setDependencyCheck(int dependencyCheck) Set the dependency check code.
| |
| setDestroyMethodName | back to summary |
|---|---|
| public void setDestroyMethodName(String destroyMethodName) Set the name of the default destroy method. Note that this method is not enforced on all affected bean definitions but rather taken as an optional callback, to be invoked if actually present. | |
| setInitMethodName | back to summary |
|---|---|
| public void setInitMethodName(String initMethodName) Set the name of the default initializer method. Note that this method is not enforced on all affected bean definitions but rather taken as an optional callback, to be invoked if actually present. | |
| setLazyInit | back to summary |
|---|---|
| public void setLazyInit(boolean lazyInit) Set whether beans should be lazily initialized by default. If
| |