persistentAliasesData.getData().aliasOverrides = aliasOverrides;
}
public AliasDefinition getAlias(String aliasName) throws AliasException, ContentFileProcessingException {
AliasOverride aliasOverride = getLocalAliasOverride(aliasName);
AliasDefinition aliasDefinition = getAliasDefinition(aliasName);
AliasOverride groupAliasOverride = getGroupAliasOverride(aliasName);
if ((aliasOverride == null) && (groupAliasOverride != null)) {
aliasOverride = groupAliasOverride;
}
if((aliasDefinition == null) && (aliasOverride == null)) {
throw new UnresolvableAliasException(this, aliasName);
}
if(aliasDefinition == null) {
aliasDefinition = new AliasDefinition(aliasOverride.getName(), aliasOverride.getClassName(), null);
}
else if(aliasOverride != null) {
aliasDefinition = new AliasDefinition(aliasOverride.getName(), aliasOverride.getClassName(), aliasDefinition.getInterfaceName());
}
if((aliasDefinition.getClassName() == null)) {
aliasDefinition = new AliasDefinition(aliasDefinition.getName(), BR_UNKNOWN_CLASS_NAME, aliasDefinition.getInterfaceName());
}
return aliasDefinition;
}