d.getAllCalendarResources(visitor);
Provisioning.getInstance().getAllCalendarResources(d, visitor);
    protected void doDomain(final Element e, Domain d)    throws ServiceException {        NamedEntry.Visitor visitor = new NamedEntry.Visitor() {            public void visit(com.zimbra.cs.account.NamedEntry entry)            throws ServiceException {                ToXML.encodeCalendarResource(e, (CalendarResource) entry, true);            }        };        d.getAllCalendarResources(visitor);    }