class FileConnection implements ObjectStoreConnection {

    @Override
    public boolean deleteServiceIdentity(String domainName, String serviceName) {
        DomainStruct domainStruct = getDomainStruct(domainName);
        if (domainStruct == null) {
            throw ZMSUtils.error(ResourceException.NOT_FOUND, "domain not found", "deleteServiceIdentity");
        }
        HashMap<String, ServiceIdentity> services = domainStruct.getServices();
        if (services != null) {
            services.remove(serviceName);
            putDomainStruct(domainName, domainStruct);
        }
        return true;
    }

    public  FileConnection(File rootDir, File quotaDir);

}