Package com.salesforce.ide.core.internal.jobs

Examples of com.salesforce.ide.core.internal.jobs.LoadSObjectsJob.schedule()


            Connection connection = ContainerDelegate.getInstance().getFactoryLocator().getConnectionFactory().getConnection(componentWizardModel.getProject());
            LoadSObjectsJob loadSObjectsJob =
                    new LoadSObjectsJob(ContainerDelegate.getInstance().getFactoryLocator().getConnectionFactory().getDescribeObjectRegistry(), connection,
                            componentWizardModel.getProject().getName());
            loadSObjectsJob.setSystem(true);
            loadSObjectsJob.schedule();
        } catch (Exception e) {
            // this is fine because we may load later
            logger.warn("Unable to refresh custom object cache: " + e.getMessage());
        }
View Full Code Here


                            .getConnection(getProjectModel().getForceProject());
            LoadSObjectsJob loadSObjectsJob =
                    new LoadSObjectsJob(ContainerDelegate.getInstance().getFactoryLocator().getConnectionFactory()
                            .getDescribeObjectRegistry(), connection, getProjectModel().getProject().getName());
            loadSObjectsJob.setSystem(true);
            loadSObjectsJob.schedule();
        } catch (Exception e) {
            // this is fine because we may load later
            logger.warn("Unable to load custom object cache: " + e.getMessage());
        }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.