Package net.virtuemart.www.possync

Examples of net.virtuemart.www.possync.SyncThread


                if (TicketInfo.isWS()) {
                        try {
                            // app.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));

                             ProcessAction myProcess = (ProcessAction) m_App.getBean("net.virtuemart.www.possync.OrdersSyncCreate");
                              SyncThread p = new SyncThread(myProcess,"Orders");
                              p.setDaemon (true);
                              p.start();
                             
                        } catch (BeanFactoryException e) {
                            //JOptionPane.showMessageDialog(m_App, "Order Sync bean error");
                            e.printStackTrace();
View Full Code Here


                    if (Boolean.valueOf(config.getProperty("ws.productstart"))) {
                        try {
                            // app.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));

                             ProcessAction myProcess = (ProcessAction) app.getBean("net.virtuemart.www.possync.ProductsSyncCreate");
                              SyncThread p = new SyncThread(myProcess,"Products");
                              p.setDaemon (true);
                              p.start();
                             
                        } catch (BeanFactoryException e) {
                            JOptionPane.showMessageDialog(app, "Product Sync bean error");
                        }
                    }
                    if (Boolean.valueOf(config.getProperty("ws.userstart"))) {
                        try {
                             //app.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));

                             ProcessAction myProcess = (ProcessAction) app.getBean("net.virtuemart.www.possync.UsersSyncCreate");
                             SyncThread p = new SyncThread(myProcess,"Users");

                              p.setDaemon (true);
                              p.start();

                        } catch (BeanFactoryException e) {
                            JOptionPane.showMessageDialog(app, "Users Sync bean error");
                        }
                    }
View Full Code Here

        if (m_appuser.hasPermission(sTaskClass)) {
            try {

                ProcessAction myProcess = (ProcessAction) m_appview.getBean(sTaskClass);

                 SyncThread p = new SyncThread(myProcess,sTaskClass);
                 p.setDaemon (true);
                 p.start();

            } catch (BeanFactoryException e) {
                JMessageDialog.showMessage(JPrincipalApp.this, new MessageInf(MessageInf.SGN_WARNING, AppLocal.getIntString("Label.LoadError"), e));           
            }                   
        } else  {
View Full Code Here

TOP

Related Classes of net.virtuemart.www.possync.SyncThread

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.