Examples of Debug


Examples of org.apache.xml.resolver.helpers.Debug

  /** Constructor that specifies an explicit property file. */
  public CatalogManager(String propertyFile) {
    this.propertyFile = propertyFile;

    debug = new Debug();
    // Note that we don't setDebug() here; we do that lazily. Either the
    // user will set it explicitly, or we'll do it automagically if they
    // read from the propertyFile for some other reason. That way, there's
    // no attempt to read from the file before the caller has had a chance
    // to avoid it.
View Full Code Here

Examples of org.jboss.util.xml.catalog.helpers.Debug

   */
  public Debug debug = null;

  /** Constructor. */
  public CatalogManager() {
    debug = new Debug();
    // Note that we don't setDebug() here; we do that lazily. Either the
    // user will set it explicitly, or we'll do it automagically if they
    // read from the propertyFile for some other reason. That way, there's
    // no attempt to read from the file before the caller has had a chance
    // to avoid it.
View Full Code Here

Examples of org.jboss.util.xml.catalog.helpers.Debug

  /** Constructor that specifies an explicit property file. */
  public CatalogManager(String propertyFile) {
    this.propertyFile = propertyFile;

    debug = new Debug();
    // Note that we don't setDebug() here; we do that lazily. Either the
    // user will set it explicitly, or we'll do it automagically if they
    // read from the propertyFile for some other reason. That way, there's
    // no attempt to read from the file before the caller has had a chance
    // to avoid it.
View Full Code Here

Examples of org.jboss.util.xml.catalog.helpers.Debug

   */
  public Debug debug = null;

  /** Constructor. */
  public CatalogManager() {
    debug = new Debug();
    // Note that we don't setDebug() here; we do that lazily. Either the
    // user will set it explicitly, or we'll do it automagically if they
    // read from the propertyFile for some other reason. That way, there's
    // no attempt to read from the file before the caller has had a chance
    // to avoid it.
View Full Code Here

Examples of org.jboss.util.xml.catalog.helpers.Debug

  /** Constructor that specifies an explicit property file.
* @param propertyFile */
  public CatalogManager(String propertyFile) {
    this.propertyFile = propertyFile;

    debug = new Debug();
    // Note that we don't setDebug() here; we do that lazily. Either the
    // user will set it explicitly, or we'll do it automagically if they
    // read from the propertyFile for some other reason. That way, there's
    // no attempt to read from the file before the caller has had a chance
    // to avoid it.
View Full Code Here

Examples of org.jpos.transaction.participant.Debug

        assertEquals("evt.payLoad.get(1)", "          abort: org.jpos.transaction.participant.Forward", evt.getPayLoad().get(1));
    }

    @Test
    public void testAbort4() throws Throwable {
        members.add(new Debug());
        LogEvent evt = new LogEvent("testTransactionManagerTag");
        transactionManager.abort(1, 100L, "", members, false, evt, null);
        assertEquals("evt.payLoad.size()", 1, evt.getPayLoad().size());
        assertEquals("evt.payLoad.get(0)", "          abort: org.jpos.transaction.participant.Debug", evt.getPayLoad().get(0));
    }
View Full Code Here

Examples of org.openfaces.component.util.Debug

    protected String getDefaultClassName() {
        return Styles.mergeClassNames(super.getDefaultClassName(), "o_debug");
    }

    public void createSubComponents(FacesContext context, UIComponent component) {
        Debug debug = (Debug) component;
        TabbedPane tabbedPane = (TabbedPane) Components.createChildComponent(context, debug, TabbedPane.COMPONENT_TYPE, "pages");
        tabbedPane.setLoadingMode(LoadingMode.CLIENT);
        tabbedPane.setStyle("width: 100%; height: 100%;");

        tabbedPane.getChildren().add(new SubPanel(
View Full Code Here

Examples of storm.trident.operation.builtin.Debug

        List<String> hosts = Arrays.asList("localhost:9092");
        KafkaConfig kafkaConf = new KafkaConfig(KafkaConfig.StaticHosts.fromHostString(hosts, 3), "test");
        kafkaConf.scheme = new StringScheme();
        topology.newStream("mykafka", new TransactionalTridentKafkaSpout(kafkaConf))
//                .aggregate(new Count(), new Fields("count"))
                .each(new Fields("str"), new Debug());
       
        LocalCluster cluster = new LocalCluster();
       
        StormTopology topo = topology.build();
       
View Full Code Here

Examples of sun.security.util.Debug

    if (!match(cname, hostname) &&
        (defaultDeny || !cname.equals(addresses[0].getHostAddress()))) {
        // Last chance
        if (!authorized(hostname, addresses[0].getAddress())) {
      untrusted = true;
      Debug debug = getDebug();
      if (debug != null && Debug.isOn("failure")) {
          debug.println("socket access restriction: proxied host " + "(" + addresses[0] + ")" + " does not match " + cname + " from reverse lookup");
      }
      return true;
        }
    }
    trusted = true;
View Full Code Here

Examples of sun.security.util.Debug

      //auth = InetAddress.getAllByName0(authHost, false)[0];
      authHost = hostname + '.' + authHost;
      auth = InetAddress.getAllByName0(authHost, false)[0];
      if (auth.equals(InetAddress.getByAddress(addr)))
          return true;
      Debug debug = getDebug();
      if (debug != null && Debug.isOn("failure")) {
    debug.println("socket access restriction: IP address of " + auth + " != " + InetAddress.getByAddress(addr));
      }
  } catch (UnknownHostException uhe) {
      Debug debug = getDebug();
      if (debug != null && Debug.isOn("failure")) {
    debug.println("socket access restriction: forward lookup failed for " + authHost);
      }
  } catch (IOException x) {
  }
  return false;
    }
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.