final String identity = AliasMapping.createUri(m_extension, domainName); final String contact = getUri(domainName); AliasMapping mapping = new AliasMapping(identity, contact); return Collections.singletonList(mapping);
return m_aliases;
    public List getAliases(String domainName) {        if (StringUtils.isBlank(m_extension)) {            return Collections.EMPTY_LIST;        }        final String identity = AliasMapping.createUri(m_extension, domainName);        final String contact = getUri(domainName);        AliasMapping mapping = new AliasMapping(identity, contact);        return Collections.singletonList(mapping);    }