Given an object name, create an alias.
This is typically used to support names that are illegal within XML ids (which are used for object names).
Typically invoked during factory configuration, but can also be used for runtime registration of aliases. Therefore, a factory implementation should synchronize alias access.
|NoSuchObjectDefinitionException||If there is no object with the given name.|
|ObjectsException||If the alias is already in use.|