Package webworks.message.list.impl

Examples of webworks.message.list.impl.CustomMessageDispatcher


public static void initializeOnStartup(final String folderName, final String appName, final long GUID) { 
   
    UiApplication.getUiApplication().invokeLater(new Runnable() {
      public void run() {
        try {
          CustomMessageDispatcher daemon = new CustomMessageDispatcher();

          // Check if this application registered folders already
          ApplicationMessageFolderRegistry reg = ApplicationMessageFolderRegistry.getInstance();
          if (reg.getApplicationFolder(CustomMessageInterface.INBOX_FOLDER_ID) == null) {
            // Register folders & message types and initialize
            // folders
            daemon.init(folderName, appName, GUID);
          }

        } catch (Exception e) {
          throw new RuntimeException("CustomMessage.initializeOnStartup() error: "
              + e.getMessage());
View Full Code Here

TOP

Related Classes of webworks.message.list.impl.CustomMessageDispatcher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.