|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AliasRegistry
Common interface for managing aliases. Serves as super-interface for
BeanDefinitionRegistry
.
Method Summary | |
---|---|
String[] |
getAliases(String name)
Return the aliases for the given name, if defined. |
boolean |
isAlias(String beanName)
Determine whether this given name is defines as an alias (as opposed to the name of an actually registered component). |
void |
registerAlias(String name,
String alias)
Given a name, register an alias for it. |
void |
removeAlias(String alias)
Remove the specified alias from this registry. |
Method Detail |
---|
void registerAlias(String name, String alias)
name
- the canonical namealias
- the alias to be registered
IllegalStateException
- if the alias is already in use
and may not be overriddenvoid removeAlias(String alias)
alias
- the alias to remove
IllegalStateException
- if no such alias was foundboolean isAlias(String beanName)
beanName
- the bean name to check
String[] getAliases(String name)
name
- the name to check for aliases
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |