Examples of reset()


Examples of org.semanticweb.owlapi.util.OWLEntityRemover.reset()

        man.applyChanges(remover.getChanges());
        // System.out.println("Number of individuals: "
        // + ont.getIndividualsInSignature().size());
        // At this point, if we wanted to reuse the entity remover, we would
        // have to reset it
        remover.reset();
    }

    /**
     * An example which shows how to create restrictions and add them as
     * superclasses of a class (i.e. "adding restrictions to classes")
View Full Code Here

Examples of org.sf.bee.profiler.components.TimeWatcher.reset()

        mainProfiler.start();
        this.getLogger().info("Cleaning runtime ...");

        // Clear resources cache
        profiler.reset();
        profiler.start();
        this.getLogger().fine(
                "\tStart Finalizing Resource Bundle Cache (i18n) ...");
        try {
            _repository.clear();
View Full Code Here

Examples of org.springframework.binding.support.TestPropertyChangeListener.reset()

        vm.addValueChangeListener(vl);

        ListListModel llm = (ListListModel)vm.getValue();
        assertEquals(0, vl.eventCount());

        vl.reset();
        llm.add(new Integer(100));
        assertEquals(1, vl.eventCount());
        llm.add(1, new Integer(102));
        assertEquals(2, vl.eventCount());
View Full Code Here

Examples of org.springframework.ide.eclipse.beans.core.internal.model.BeansProject.reset()

    if (beansProject != null) {
      if (!isEnabled) {
        beansProject.removeAutoDetectedConfigs(getNamespaceUri() + "." + getId());
      }
      else {
        beansProject.reset();
      }
      ((BeansModel) beansProject.getElementParent()).notifyListeners(beansProject,
          ModelChangeEvent.Type.CHANGED);
    }
  }
View Full Code Here

Examples of org.springframework.mock.web.MockHttpServletResponse.reset()

      controller.downloadCSV(getTestUser(), test.getId(), resp);
    } catch (IllegalStateException e) {
      // the report file doesn't exist
      assertTrue(true);
    }
    resp.reset();
    controller.downloadLog(getTestUser(), test.getId(), "log", resp);
  }

  @Test
  public void testRefreshTestRunning() {
View Full Code Here

Examples of org.springframework.osgi.service.importer.support.internal.support.RetryTemplate.reset()

      rt = retryTemplate;
      retries = this.retriesNumber;
    }

    if (rt != null) {
      rt.reset(retries, millisBetweenRetries);
    }
  }

  /**
   * Returns the timeout (in milliseconds) this importer waits while trying to
View Full Code Here

Examples of org.springframework.security.web.firewall.FirewalledRequest.reset()

            if (logger.isDebugEnabled()) {
                logger.debug(UrlUtils.buildRequestUrl(fwRequest) +
                        (filters == null ? " has no matching filters" : " has an empty filter list"));
            }

            fwRequest.reset();

            chain.doFilter(fwRequest, fwResponse);

            return;
        }
View Full Code Here

Examples of org.springframework.xd.analytics.metrics.core.RichGaugeRepository.reset()

  @Test
  public void resetExistingGaugeCausesReset() throws Exception {
    RichGaugeRepository gs = createService();
    gs.setValue("test", 9.99);
    gs.reset("test");
    RichGauge g = gs.findOne("test");
    assertEquals(0.0, g.getValue(), 1E-6);
  }

  @Test
View Full Code Here

Examples of org.sql.generation.api.grammar.builders.booleans.BooleanBuilder.reset()

                              + ( collectionIsSet ? "*{1,}" : collectionIndex );
                Boolean isCollection = ( item instanceof Collection<?> );
                BooleanBuilder newWhere = b.booleanBuilder();
                if( !isCollection )
                {
                    newWhere.reset( b.regexp( collColExp, l.s( path ) ) );
                }
                totalItemsProcessed
                = totalItemsProcessed
                  + modifyFromClauseAndWhereClauseToGetValue( qName, item, predicate,
                                                              negationActive,
View Full Code Here

Examples of org.subethamail.smtp.server.Session.reset()

  @Override
  public void execute(String commandString, ConnectionContext context) throws IOException
  {
    Session session = context.getSession();
    session.reset(true);

    context.sendResponse("250 Ok");
  }
}
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.