Example #1
0
 @Override
 public void registerHandlers(DocumentDispatcher dispatcher) {
   dispatcher.registerHandler(
       GetOAuthConsumers.GET_OAUTH_CONSUMERS_REQUEST, new GetOAuthConsumers());
 }
Example #2
0
 public void registerHandlers(DocumentDispatcher dispatcher) {
   dispatcher.registerHandler(IMConstants.IM_GET_ROSTER_REQUEST, new IMGetRoster());
   dispatcher.registerHandler(IMConstants.IM_SET_PRESENCE_REQUEST, new IMSetPresence());
   dispatcher.registerHandler(IMConstants.IM_SUBSCRIBE_REQUEST, new IMSubscribe());
   dispatcher.registerHandler(
       IMConstants.IM_AUTHORIZE_SUBSCRIBE_REQUEST, new IMAuthorizeSubscribe());
   dispatcher.registerHandler(IMConstants.IM_SEND_MESSAGE_REQUEST, new IMSendMessage());
   dispatcher.registerHandler(IMConstants.IM_GET_CHAT_REQUEST, new IMGetChat());
   dispatcher.registerHandler(
       IMConstants.IM_GET_CHAT_CONFIGURATION_REQUEST, new IMGetChatConfiguration());
   dispatcher.registerHandler(
       IMConstants.IM_JOIN_CONFERENCE_ROOM_REQUEST, new IMJoinConferenceRoom());
   dispatcher.registerHandler(IMConstants.IM_MODIFY_CHAT_REQUEST, new IMModifyChat());
   dispatcher.registerHandler(IMConstants.IM_GATEWAY_REGISTER_REQUEST, new IMGatewayRegister());
   dispatcher.registerHandler(IMConstants.IM_GATEWAY_LIST_REQUEST, new IMGatewayList());
   dispatcher.registerHandler(IMConstants.IM_GET_PRIVACY_LIST_REQUEST, new IMGetPrivacyList());
   dispatcher.registerHandler(IMConstants.IM_SET_PRIVACY_LIST_REQUEST, new IMSetPrivacyList());
   dispatcher.registerHandler(IMConstants.IM_SET_IDLE_REQUEST, new IMSetIdle());
   dispatcher.registerHandler(
       IMConstants.IM_LIST_CONFERENCE_SERVICES_REQUEST, new IMListConferenceServices());
   dispatcher.registerHandler(
       IMConstants.IM_LIST_CONFERENCE_ROOMS_REQUEST, new IMListConferenceRooms());
 }
 public void registerHandlers(DocumentDispatcher dispatcher) {
   dispatcher.registerHandler(AdminConstants.VC_REQUEST, new VersionCheck());
 }
Example #4
0
  public void registerHandlers(DocumentDispatcher dispatcher) {

    // auth
    dispatcher.registerHandler(AccountConstants.AUTH_REQUEST, new Auth());
    dispatcher.registerHandler(AccountConstants.CHANGE_PASSWORD_REQUEST, new ChangePassword());
    dispatcher.registerHandler(AccountConstants.END_SESSION_REQUEST, new EndSession());

    // prefs
    dispatcher.registerHandler(AccountConstants.GET_PREFS_REQUEST, new GetPrefs());
    dispatcher.registerHandler(AccountConstants.MODIFY_PREFS_REQUEST, new ModifyPrefs());

    dispatcher.registerHandler(AccountConstants.GET_INFO_REQUEST, new GetInfo());
    dispatcher.registerHandler(AccountConstants.GET_ACCOUNT_INFO_REQUEST, new GetAccountInfo());

    dispatcher.registerHandler(AccountConstants.SEARCH_GAL_REQUEST, new SearchGal());
    dispatcher.registerHandler(AccountConstants.AUTO_COMPLETE_GAL_REQUEST, new AutoCompleteGal());
    dispatcher.registerHandler(AccountConstants.SYNC_GAL_REQUEST, new SyncGal());
    dispatcher.registerHandler(
        AccountConstants.SEARCH_CALENDAR_RESOURCES_REQUEST, new SearchCalendarResources());

    dispatcher.registerHandler(AccountConstants.MODIFY_PROPERTIES_REQUEST, new ModifyProperties());
    dispatcher.registerHandler(
        AccountConstants.MODIFY_ZIMLET_PREFS_REQUEST, new ModifyZimletPrefs());

    dispatcher.registerHandler(AccountConstants.GET_ALL_LOCALES_REQUEST, new GetAllLocales());
    dispatcher.registerHandler(
        AccountConstants.GET_AVAILABLE_LOCALES_REQUEST, new GetAvailableLocales());
    dispatcher.registerHandler(
        AccountConstants.GET_AVAILABLE_SKINS_REQUEST, new GetAvailableSkins());
    dispatcher.registerHandler(
        AccountConstants.GET_AVAILABLE_CSV_FORMATS_REQUEST, new GetAvailableCsvFormats());

    // identity
    dispatcher.registerHandler(AccountConstants.CREATE_IDENTITY_REQUEST, new CreateIdentity());
    dispatcher.registerHandler(AccountConstants.MODIFY_IDENTITY_REQUEST, new ModifyIdentity());
    dispatcher.registerHandler(AccountConstants.DELETE_IDENTITY_REQUEST, new DeleteIdentity());
    dispatcher.registerHandler(AccountConstants.GET_IDENTITIES_REQUEST, new GetIdentities());

    // signature
    dispatcher.registerHandler(AccountConstants.CREATE_SIGNATURE_REQUEST, new CreateSignature());
    dispatcher.registerHandler(AccountConstants.MODIFY_SIGNATURE_REQUEST, new ModifySignature());
    dispatcher.registerHandler(AccountConstants.DELETE_SIGNATURE_REQUEST, new DeleteSignature());
    dispatcher.registerHandler(AccountConstants.GET_SIGNATURES_REQUEST, new GetSignatures());

    // share info
    dispatcher.registerHandler(AccountConstants.GET_SHARE_INFO_REQUEST, new GetShareInfo());

    // white/black list
    dispatcher.registerHandler(
        AccountConstants.GET_WHITE_BLACK_LIST_REQUEST, new GetWhiteBlackList());
    dispatcher.registerHandler(
        AccountConstants.MODIFY_WHITE_BLACK_LIST_REQUEST, new ModifyWhiteBlackList());

    // distribution list
    dispatcher.registerHandler(
        AccountConstants.GET_DISTRIBUTION_LIST_MEMBERS_REQUEST, new GetDistributionListMembers());

    // misc
    dispatcher.registerHandler(AccountConstants.GET_VERSION_INFO_REQUEST, new GetVersionInfo());
  }