Examples of ModuleFactory


Examples of org.apache.derby.iapi.services.monitor.ModuleFactory

    {
      Thread.yield();
    }
    else
    {
      ModuleFactory mf = Monitor.getMonitor();
      if (mf != null)
        mf.setThreadPriority(Thread.MIN_PRIORITY);
      Thread.yield();
      if (mf != null)
        mf.setThreadPriority(oldPriority);
    }
  }
View Full Code Here

Examples of org.apache.derby.iapi.services.monitor.ModuleFactory

  public void boot(boolean create, Properties startParams)
    throws StandardException
  {

    ModuleFactory monitor = Monitor.getMonitor();
    if (create)
    {
      if (startParams.getProperty(Property.CREATE_WITH_NO_LOG) == null)
        startParams.put(Property.CREATE_WITH_NO_LOG, "true");

      String localeID =
                startParams.getProperty(
                    org.apache.derby.iapi.reference.Attribute.TERRITORY);

      if (localeID == null) {
        localeID = Locale.getDefault().toString();
      }
      databaseLocale = monitor.setLocale(startParams, localeID);

    } else {
      databaseLocale = monitor.getLocale(this);
    }
    setLocale(databaseLocale);     

    // boot the validation needed to do property validation, now property
    // validation is separated from AccessFactory, therefore from store
View Full Code Here

Examples of org.apache.derby.iapi.services.monitor.ModuleFactory

    {
      currentThread.yield();
    }
    else
    {
      ModuleFactory mf = Monitor.getMonitor();
      if (mf != null)
        mf.setThreadPriority(Thread.MIN_PRIORITY);
      currentThread.yield();
      if (mf != null)
        mf.setThreadPriority(oldPriority);
    }
  }
View Full Code Here

Examples of org.springframework.xd.module.core.ModuleFactory

    return new SourceFilteringListener(context, delegate);
  }

  @Bean
  public ModuleFactory moduleFactory() {
    return new ModuleFactory(moduleOptionsMetadataResolver);
  }
View Full Code Here

Examples of tv.ustream.yolo.module.ModuleFactory

        Map<String, Object> config = new HashMap<String, Object>();
        config.put("class", RegexpParser.class.getCanonicalName());
        config.put("regex", regex);
        config.put("processors", processors);
        return new ModuleFactory().createParser("x", config);
    }
View Full Code Here

Examples of tv.ustream.yolo.module.ModuleFactory

        Map<String, Object> config = new HashMap<String, Object>();
        config.put("class", JsonParser.class.getCanonicalName());
        config.put("processors", processors);
        config.put("flatten", flatten);
        return new ModuleFactory().createParser("x", config);
    }
View Full Code Here

Examples of tv.ustream.yolo.module.ModuleFactory

        Map<String, Object> config = new HashMap<String, Object>();
        config.put("class", JsonParser.class.getCanonicalName());
        config.put("processors", processors);
        config.put("flatten", true);
        config.put("filters", Arrays.asList(filter1, filter2));
        return new ModuleFactory().createParser("x", config);
    }
View Full Code Here

Examples of tv.ustream.yolo.module.ModuleFactory

        Map<String, Object> config = new HashMap<String, Object>();
        config.put("class", ScriptEngineParser.class.getCanonicalName());
        config.put("file", file);
        config.put("engine", engine);
        config.put("processors", processors);
        return new ModuleFactory().createParser("x", config);
    }
View Full Code Here

Examples of tv.ustream.yolo.module.ModuleFactory

        config.put("class", StatsDProcessor.class.getCanonicalName());
        config.put("prefix", prefix);
        config.put("host", host);
        config.put("port", port.doubleValue());

        return (StatsDProcessor) new ModuleFactory().createProcessor("x", config);
    }
View Full Code Here

Examples of tv.ustream.yolo.module.ModuleFactory

    {
        Map<String, Object> config = new HashMap<String, Object>();
        config.put("class", CompositeProcessor.class.getCanonicalName());
        config.put("processors", Arrays.asList("x"));

        return (CompositeProcessor) new ModuleFactory().createProcessor("x", config);
    }
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.