Examples of Configurer


Examples of cero.Configurer

  public Configurer getConfiguration() {
    return configurer;
  }

  public Configurer getDefaultConfiguration() {
    Configurer conf = new MyConfigurer("cero.games.bataille.GameContinuer");
    try {
      conf.setInt("Points limit", MAX_WIN_LIMIT);
    } catch (ConfigurationException e) {
      e.printStackTrace();
    }
    return conf;
  }
View Full Code Here

Examples of cero.Configurer

  public Configurer getConfiguration() {
    return configurer;
  }

  public Configurer getDefaultConfiguration() {
    Configurer conf = new MyConfigurer("cero.games.uno.Deal");
    try {
      conf.setInt("Cards dealt number", CARDS_DEALT_NUMBER);
    } catch (ConfigurationException e) {
      e.printStackTrace();
    }
    return conf;
  }
View Full Code Here

Examples of com.nhncorp.mods.socket.io.impl.Configurer

  public void start() {
    int port = 9191;
    HttpServer server = vertx.createHttpServer();
    final SocketIOServer io = new DefaultSocketIOServer(vertx, server);

    io.configure(new Configurer() {
      public void configure(JsonObject config) {
        config.putString("transports", "websocket,flashsocket,xhr-polling,jsonp-polling,htmlfile");
//        config.putString("transports", "xhr-polling,jsonp-polling,htmlfile");
      }
    });
View Full Code Here

Examples of io.fabric8.api.scr.Configurer

        dataStore = new GitDataStoreImpl();
        dataStore.bindCurator(curator);
        dataStore.bindGitService(gitService);
        dataStore.bindRuntimeProperties(runtimeProperties);
        dataStore.bindConfigurer(new Configurer() {

            @Override
            public <T> Map<String, ?> configure(Map<String, ?> configuration, T target, String... ignorePrefix) throws Exception {
                return null;
            }
View Full Code Here

Examples of org.apache.cxf.configuration.Configurer

  public BasicConnectionFactory createConnectionFactory() throws ResourceException {
    QName portQName = SforceService.SERVICE;
    if (this.configFile != null) {
      this.bus = new SpringBusFactory().createBus(this.configFile);
      JaxWsClientFactoryBean instance = new JaxWsClientFactoryBean();
      Configurer configurer = this.bus.getExtension(Configurer.class);
          if (null != configurer) {
              configurer.configureBean(portQName.toString() + ".jaxws-client.proxyFactory", instance); //$NON-NLS-1$
          }
    }
   
    return new BasicConnectionFactory() {
      private static final long serialVersionUID = 5028356110047329135L;
View Full Code Here

Examples of org.apache.cxf.configuration.Configurer

    }
    this.portQName = new QName(WSConnectionImpl.DEFAULT_NAMESPACE_URI, configName);
    if (configFile != null) {
      bus = new SpringBusFactory().createBus(configFile);
      JaxWsClientFactoryBean instance = new JaxWsClientFactoryBean();
      Configurer configurer = bus.getExtension(Configurer.class);
          if (null != configurer) {
              configurer.configureBean(portQName.toString() + ".jaxws-client.proxyFactory", instance); //$NON-NLS-1$
          }
          outInterceptors = instance.getOutInterceptors();
    }
    return new BasicConnectionFactory() {
      @Override
View Full Code Here

Examples of org.apache.cxf.configuration.Configurer

    @Before
    public void setUp() throws Exception {
        control = EasyMock.createNiceControl();
        bus = control.createMock(Bus.class);
       
        Configurer configurer = new ConfigurerImpl();
        bus.getExtension(Configurer.class);
        EasyMock.expectLastCall().andReturn(configurer).anyTimes();
       
        InstrumentationManager iManager = control.createMock(InstrumentationManager.class);
        iManager.getMBeanServer();
View Full Code Here

Examples of org.apache.cxf.configuration.Configurer

            if (obj == null) {
                return;
            }
           
            if (null != activated) {
                Configurer configurer = (Configurer)(activated.get(Configurer.class));
                if (null != configurer) {
                    configurer.configureBean(obj);
                }
            }
           
            // let the object know for which namespaces it has been activated
            ResourceResolver namespacesResolver = null;
View Full Code Here

Examples of org.apache.cxf.configuration.Configurer

        if (null == properties) {
            properties = new HashMap<String, Object>();
        }
       
        Configurer configurer = (Configurer)extensions.get(Configurer.class);
        if (null == configurer) {
            configurer = new NullConfigurer();
            extensions.put(Configurer.class, configurer);
        }
View Full Code Here

Examples of org.apache.cxf.configuration.Configurer

            return;
        }
        if (bus == null) {
            bus = BusFactory.getThreadDefaultBus();
        }
        Configurer configurer = bus.getExtension(Configurer.class);
        String name = getConfiguredName();
        if (null != configurer && name != null) {
            configurer.configureBean(name, this);
        }
        configured = true;
    }
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.