Examples of reload()


Examples of org.drools.rule.PackageCompilationData.reload()

        }

        public void execute(final InternalRuleBase ruleBase) {
            for ( final Iterator it = this.set.iterator(); it.hasNext(); ) {
                final PackageCompilationData packageCompilationData = (PackageCompilationData) it.next();
                packageCompilationData.reload();
            }
        }
    }

    public static interface RuleBaseAction
View Full Code Here

Examples of org.eclipse.egit.ui.internal.staging.StagingView.reload()

                      .getActiveWorkbenchWindow()
                      .getActivePage()
                      .findView(StagingView.VIEW_ID);
                  if (view instanceof StagingView) {
                    final StagingView sv = (StagingView) view;
                    sv.reload(repository);
                    Display.getDefault().asyncExec(
                        new Runnable() {
                          public void run() {
                            sv.setAmending(amending);
                          }
View Full Code Here

Examples of org.eurekastreams.web.client.ui.common.pagedlist.PagedListPanel.reload()

        {
            public void update(final UpdatedActivityFlagResponseEvent ev)
            {
                eventBus.notifyObservers(new ShowNotificationEvent(new Notification(
                        "The flagged activity has been allowed")));
                adminTabContent.reload();
            }
        });

        eventBus.addObserver(UpdatedReviewPendingGroupResponseEvent.class,
                new Observer<UpdatedReviewPendingGroupResponseEvent>()
View Full Code Here

Examples of org.fluxtream.core.Configuration.reload()

                "http://www.apache.org/licences/LICENSE-2.0.html"
        );
        ConfigFactory.config().setBasePath(docsBaseURL+"api");
        ConfigFactory.config().setApiInfo(apiInfo);
        ConfigFactory.config().setApiVersion("v1");
        env.reload();
    }

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        reload();
View Full Code Here

Examples of org.fusesource.ide.commons.ui.config.TableConfiguration.reload()

    TableConfiguration tc = getConfiguration();
    List<String> cols = new ArrayList<String>();
   
    if (tc == null || tc.hasColumns() == false) return super.getColumns();
   
    tc.reload();
    Iterator<String> names = tc.getColumnMap().keySet().iterator();
    while (names.hasNext()) {
      cols.add(names.next());
    }
    tc.sortDefaultColumnNames(cols);
View Full Code Here

Examples of org.geoserver.config.GeoServerLoader.reload()

            public void onClick(AjaxRequestTarget target) {
                try {
                    GeoServerLoader loader = GeoServerExtensions.bean(GeoServerLoader.class);
                    synchronized (org.geoserver.config.GeoServer.CONFIGURATION_LOCK) {
                        getCatalog().getResourcePool().dispose();
                        loader.reload();
                       
                        info(getLocalizer().getString("catalogConfigReloadedSuccessfully", StatusPage.this));
                    }
                } catch(Exception e) {
                    LOGGER.log(Level.SEVERE, "An error occurred while reloading the catalog", e);
View Full Code Here

Examples of org.geoserver.config.GeoServerLoaderProxy.reload()

       
        // reload configuration
        GeoServerLoaderProxy loader = GeoServerExtensions.bean(GeoServerLoaderProxy.class);
        synchronized (org.geoserver.config.GeoServer.CONFIGURATION_LOCK) {
            getCatalog().getResourcePool().dispose();
            loader.reload();
        }
       
        // look for pluggable handlers
        for(GeoServerLifecycleHandler handler : GeoServerExtensions.extensions(GeoServerLifecycleHandler.class)) {
            try {
View Full Code Here

Examples of org.jboss.as.cmp.component.CmpEntityBeanComponentInstance.reload()

        final CmpEntityBeanContext entityContext = instance.getEjbContext();

        if (instance.isReloadRequired()) {
            synchronized (instance) {
                if (instance.isReloadRequired()) {
                    instance.reload();
                }
            }
        }

        // now it's ready and can be scheduled for the synchronization
View Full Code Here

Examples of org.jboss.as.ejb3.component.entity.EntityBeanComponentInstance.reload()

            boolean syncRegistered = false;
            synchronized (lock) {

                //if the previous transaction was rolled back we re-load the entity bean state in the current TX
                if(instance.isReloadRequired()) {
                    instance.reload();
                }

                if (ROOT_LOGGER.isTraceEnabled()) {
                    ROOT_LOGGER.trace("Acquired lock: " + lock + " for entity bean instance: " + instance + " during invocation: " + context);
                }
View Full Code Here

Examples of org.jboss.deployers.spi.management.ManagementView.reload()

      assertNotNull(queue);
      assertEquals("running", RunState.RUNNING, queue.getRunState());
      ManagedOperation stop = getOperation(queue, "stop", new String[0]);
      stop.invoke(new MetaValue[0]);
     
      mgtView.reload();
      queue = mgtView.getComponent("testCreateQueue", QueueType);
      log.info("runtstate: " + queue.getRunState());
   }

   public void testRemoveQueue() throws Exception
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.