Examples of Config


Examples of com.linkedin.util.degrader.DegraderImpl.Config

      _wrappedClient = wrappedClient;
      _callTracker = new CallTrackerImpl(interval, clock);

      if (config == null)
      {
        config = new Config();
      }

      config.setCallTracker(_callTracker);
      config.setClock(clock);
      // The overrideDropRate will be globally determined by the DegraderLoadBalancerStrategy.
View Full Code Here

Examples of com.madgnome.jira.plugins.jirachievements.data.ao.Config

    return Config.class;
  }

  public Config getOrCreate(ConfigRefEnum ref, String initialValue)
  {
    Config config = get(ref);
    if (config == null)
    {
      config = create(ref);
      config.setValue(initialValue);
      config.save();
    }

    return config;
  }
View Full Code Here

Examples of com.mycila.testing.plugins.jetty.config.Config

    {
        if (!hasJettyPlugin(testExecution.method())) {
            return;
        }

        final Config config = DefaultConfig.configFrom(testExecution.method());
        this.logger.info("jetty-config : " + config);

        if (config.isSkip()) {
            this.logger.debug("skip running webapp with Jetty");
            return;
        }

        if (this.actions.hasWebAppContext() && config.isDeployWebapp()) {
            this.actions.stopWebapp(config);
        }
        if (this.actions.hasServer() && config.isStartServer()) {
            this.actions.stopServer(config);
        }

        if (!this.actions.hasServer()) {
            this.actions.createServer(testExecution, config);
View Full Code Here

Examples of com.mysema.query.annotations.Config

        }
        if (embeddableAnn != null) {
            entityAnnotations.add(embeddableAnn);
        }
        for (Element element : roundEnv.getElementsAnnotatedWith(Config.class)) {
            Config querydslConfig = element.getAnnotation(Config.class);
            SerializerConfig config = SimpleSerializerConfig.getConfig(querydslConfig);
            if (element instanceof PackageElement) {
                PackageElement packageElement = (PackageElement)element;
                packageToConfig.put(packageElement.getQualifiedName().toString(), config);
            } else if (element instanceof TypeElement) {
View Full Code Here

Examples of com.oldratlee.cooma.Config

       
        Ext5NoAdaptiveMethod impl2 = ExtensionLoader.getExtensionLoader(Ext5NoAdaptiveMethod.class).getExtension("impl2") ;
        assertThat(impl2, anyOf(instanceOf(Ext5Wrapper1.class), instanceOf(Ext5Wrapper2.class)));
       
       
        Config config = Config.fromKv("protocol", "p1", "host", "1.2.3.4", "port", "1010", "path", "path1");
        int echoCount1 = Ext5Wrapper1.echoCount.get();
        int echoCount2 = Ext5Wrapper2.echoCount.get();
        int yellCount1 = Ext5Wrapper1.yellCount.get();
        int yellCount2 = Ext5Wrapper2.yellCount.get();
       
View Full Code Here

Examples of com.opengamma.core.config.Config

    AnnotationReflector reflector = AnnotationReflector.getDefaultReflector();
    Set<Class<?>> configClasses = reflector.getReflector().getTypesAnnotatedWith(Config.class);
    for (Class<?> configClass : configClasses) {
      Annotation annotation = configClass.getAnnotation(Config.class);
      if (annotation instanceof Config) {
        Config configValueAnnotation = (Config) annotation;
        // extract config type
        Class<?> configType = configValueAnnotation.searchType();
        if (configType == Object.class) {
          configType = configClass;
        }
        // extract description
        String description = configValueAnnotation.description();
        if (description.length() == 0) {
          description = configType.getSimpleName();
        }
        // store
        Class<?> old = result.put(configType.getSimpleName(), configType);
View Full Code Here

Examples of com.opensymphony.module.sitemesh.Config

    public void init(ServletConfig servletConfig) throws ServletException {
        super.init(servletConfig);

        this.servletConfig = servletConfig;
        factory = Factory.getInstance(new Config(servletConfig));

        servletConfig.getServletContext().setAttribute("webwork.servlet", this);

        //Initialize VelocityEngine@VelocityManager
        VelocityManager.getInstance().init(getServletContext());
View Full Code Here

Examples of com.prupe.mcpatcher.Config$ProfileEntry

    return this.selectedProfile;
  }

  Config$ProfileEntry getSelectedProfile() {
    Config$ProfileEntry profile = (Config$ProfileEntry)this.profiles.get(this.getSelectedProfileName());

    if (profile == null) {
      profile = new Config$ProfileEntry();
      this.profiles.put(this.selectedProfile, profile);
    }

    return profile;
  }
View Full Code Here

Examples of com.prupe.mcpatcher.Config$VersionEntry

    return profile;
  }

  Config$VersionEntry getSelectedVersion() {
    Config$ProfileEntry profile = this.getSelectedProfile();
    Config$VersionEntry version = (Config$VersionEntry)profile.versions.get(profile.version);

    if (version == null) {
      version = new Config$VersionEntry();
      profile.versions.put(profile.version, version);
    }

    return version;
  }
View Full Code Here

Examples of com.salesforce.dataloader.config.Config

     */

    @Override
    public LoadPage getNextPage() {
        //attempt to login
        Config config = controller.getConfig();
        //get entity
        IStructuredSelection selection = (IStructuredSelection)lv.getSelection();
        DescribeGlobalSObjectResult entity = (DescribeGlobalSObjectResult)selection.getFirstElement();

        config.setValue(Config.ENTITY, entity.getName());
        // set DAO - CSV file name
        config.setValue(Config.DAO_NAME, csvChooser.getStringValue());
        // set DAO type to CSV
        config.setValue(Config.DAO_TYPE, DataAccessObjectFactory.CSV_READ_TYPE);
        controller.saveConfig();

        DataSelectionDialog dlg = new DataSelectionDialog(getShell(), controller);
        if (dlg.open()) {
            return super.getNextPage();
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.