class FileConnection implements ObjectStoreConnection {

    @Override
    public List<String> listServiceHosts(String domainName, String serviceName) {

        final String caller = "listServiceHosts";
        DomainStruct domainStruct = getDomainStruct(domainName);
        if (domainStruct == null) {
            throw ZMSUtils.error(ResourceException.NOT_FOUND, "domain not found", caller);
        }
        ServiceIdentity service = getServiceObject(domainStruct, serviceName);
        if (service == null) {
            throw ZMSUtils.error(ResourceException.NOT_FOUND, "service not found", caller);
        }
        return service.getHosts();
    }

    public  FileConnection(File rootDir, File quotaDir);

}