dispatcher.registerHandler(CREATE_IDENTITY_REQUEST, new CreateIdentity()); dispatcher.registerHandler(MODIFY_IDENTITY_REQUEST, new ModifyIdentity()); dispatcher.registerHandler(DELETE_IDENTITY_REQUEST, new DeleteIdentity());
    public void registerHandlers(DocumentDispatcher dispatcher) {        // noop        dispatcher.registerHandler(NO_OP_REQUEST, new NoOp());            	// searching        dispatcher.registerHandler(BROWSE_REQUEST, new Browse());        dispatcher.registerHandler(SEARCH_REQUEST, new Search());        dispatcher.registerHandler(SEARCH_CONV_REQUEST, new SearchConv());        // items        dispatcher.registerHandler(ITEM_ACTION_REQUEST, new ItemAction());        // conversations        dispatcher.registerHandler(GET_CONV_REQUEST, new GetConv());        dispatcher.registerHandler(CONV_ACTION_REQUEST, new ConvAction());        // messages        dispatcher.registerHandler(GET_MSG_REQUEST, new GetMsg());        dispatcher.registerHandler(GET_MSG_METADATA_REQUEST, new GetMsgMetadata());        dispatcher.registerHandler(MSG_ACTION_REQUEST, new MsgAction());        dispatcher.registerHandler(SEND_MSG_REQUEST, new SendMsg());        dispatcher.registerHandler(ADD_MSG_REQUEST, new AddMsg());        dispatcher.registerHandler(SAVE_DRAFT_REQUEST, new SaveDraft());        // folders        dispatcher.registerHandler(GET_FOLDER_REQUEST, new GetFolder());        dispatcher.registerHandler(CREATE_FOLDER_REQUEST, new CreateFolder());        dispatcher.registerHandler(FOLDER_ACTION_REQUEST, new FolderAction());        // tags        dispatcher.registerHandler(GET_TAG_REQUEST, new GetTag());        dispatcher.registerHandler(CREATE_TAG_REQUEST, new CreateTag());        dispatcher.registerHandler(TAG_ACTION_REQUEST, new TagAction());        // saved searches        dispatcher.registerHandler(GET_SEARCH_FOLDER_REQUEST, new GetSearchFolder());        dispatcher.registerHandler(CREATE_SEARCH_FOLDER_REQUEST, new CreateSearchFolder());        dispatcher.registerHandler(MODIFY_SEARCH_FOLDER_REQUEST, new ModifySearchFolder());        // saved searches        dispatcher.registerHandler(CREATE_MOUNTPOINT_REQUEST, new CreateMountpoint());        // contacts        dispatcher.registerHandler(GET_CONTACTS_REQUEST, new GetContacts());        dispatcher.registerHandler(CREATE_CONTACT_REQUEST, new CreateContact());        dispatcher.registerHandler(MODIFY_CONTACT_REQUEST, new ModifyContact());        dispatcher.registerHandler(CONTACT_ACTION_REQUEST, new ContactAction());        dispatcher.registerHandler(EXPORT_CONTACTS_REQUEST, new ExportContacts());        dispatcher.registerHandler(IMPORT_CONTACTS_REQUEST, new ImportContacts());        // notes        dispatcher.registerHandler(GET_NOTE_REQUEST, new GetNote());        dispatcher.registerHandler(CREATE_NOTE_REQUEST, new CreateNote());        dispatcher.registerHandler(NOTE_ACTION_REQUEST, new NoteAction());        // sync        dispatcher.registerHandler(SYNC_REQUEST, new Sync());        // filter rules        dispatcher.registerHandler(GET_RULES_REQUEST, new GetRules());        dispatcher.registerHandler(SAVE_RULES_REQUEST, new SaveRules());                // calendar         dispatcher.registerHandler(GET_APPT_SUMMARIES_REQUEST, new GetApptSummaries());        dispatcher.registerHandler(SEND_INVITE_REPLY_REQUEST, new SendInviteReply());        dispatcher.registerHandler(CREATE_APPOINTMENT_REQUEST, new CreateAppointment());        dispatcher.registerHandler(CREATE_APPOINTMENT_EXCEPTION_REQUEST, new CreateAppointmentException());        dispatcher.registerHandler(MODIFY_APPOINTMENT_REQUEST, new ModifyAppointment());        dispatcher.registerHandler(CANCEL_APPOINTMENT_REQUEST, new CancelAppointment());        dispatcher.registerHandler(GET_APPOINTMENT_REQUEST, new GetAppointment());        dispatcher.registerHandler(SET_APPOINTMENT_REQUEST, new SetAppointment());                dispatcher.registerHandler(GET_FREE_BUSY_REQUEST, new GetFreeBusy());        dispatcher.registerHandler(GET_ICAL_REQUEST, new GetICal());        dispatcher.registerHandler(ICAL_REPLY_REQUEST, new ICalReply());        // spell check        dispatcher.registerHandler(CHECK_SPELLING_REQUEST, new CheckSpelling());        // TODO: move to a different service.        // wiki        dispatcher.registerHandler(SAVE_DOCUMENT_REQUEST, new com.zimbra.cs.service.wiki.SaveDocument());        dispatcher.registerHandler(SAVE_WIKI_REQUEST, new com.zimbra.cs.service.wiki.SaveWiki());        dispatcher.registerHandler(GET_WIKI_REQUEST, new com.zimbra.cs.service.wiki.GetWiki());        dispatcher.registerHandler(WIKI_ACTION_REQUEST, new com.zimbra.cs.service.wiki.WikiAction());                // identity        dispatcher.registerHandler(CREATE_IDENTITY_REQUEST, new CreateIdentity());        dispatcher.registerHandler(MODIFY_IDENTITY_REQUEST, new ModifyIdentity());        dispatcher.registerHandler(DELETE_IDENTITY_REQUEST, new DeleteIdentity());                // data source        dispatcher.registerHandler(GET_DATA_SOURCES_REQUEST, new GetDataSources());        dispatcher.registerHandler(CREATE_DATA_SOURCE_REQUEST, new CreateDataSource());        dispatcher.registerHandler(MODIFY_DATA_SOURCE_REQUEST, new ModifyDataSource());        dispatcher.registerHandler(TEST_DATA_SOURCE_REQUEST, new TestDataSource());        dispatcher.registerHandler(DELETE_DATA_SOURCE_REQUEST, new DeleteDataSource());        dispatcher.registerHandler(IMPORT_DATA_REQUEST, new ImportData());        dispatcher.registerHandler(GET_IMPORT_STATUS_REQUEST, new GetImportStatus());    }