class DBService implements RolesProvider {

    DomainList lookupDomainByRole(String roleMember, String roleName) {
        
        DomainList domList = new DomainList();
        try (ObjectStoreConnection con = store.getConnection(true, false)) {
            List<String> domains = con.lookupDomainByRole(roleMember, roleName);
            if (domains != null) {
                domList.setNames(domains);
            }
        }
        return domList;
    }

    public  DBService(ObjectStore store, AuditLogger auditLogger, ZMSConfig zmsConfig, AuditReferenceValidator auditReferenceValidator);

}