org.springframework.core.AliasRegistry |
Common interface for managing aliases. Serves as super-interface for
BeanDefinitionRegistry
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Return the aliases for the given name, if defined.
| |||||||||||
Determine whether this given name is defines as an alias
(as opposed to the name of an actually registered component).
| |||||||||||
Given a name, register an alias for it.
| |||||||||||
Remove the specified alias from this registry.
|
Return the aliases for the given name, if defined.
name | the name to check for aliases |
---|
Determine whether this given name is defines as an alias (as opposed to the name of an actually registered component).
beanName | the bean name to check |
---|
Given a name, register an alias for it.
name | the canonical name |
---|---|
alias | the alias to be registered |
IllegalStateException | if the alias is already in use and may not be overridden |
---|
Remove the specified alias from this registry.
alias | the alias to remove |
---|
IllegalStateException | if no such alias was found |
---|