Examples of ConfigurationProperties


Examples of org.infinispan.client.hotrod.impl.ConfigurationProperties

      try {
         properties.load(stream);
      } catch (IOException e) {
         throw new HotRodClientException("Issues configuring from client hotrod-client.properties", e);
      }
      config = new ConfigurationProperties(properties);
   }
View Full Code Here

Examples of org.infinispan.config.ConfigurationProperties

   boolean reflectAndInvokeProperties(AbstractConfigurationBean bean, Method m, Element node){
      Class<?> parameterType = m.getParameterTypes()[0];
     
      //how about ConfigurationProperties or ConfigurationProperty matching the current node iterated?
      ConfigurationProperty[] cprops = null;
      ConfigurationProperties cp = m.getAnnotation(ConfigurationProperties.class);              
      if (cp != null) {
         cprops = cp.elements();
      } else {
         ConfigurationProperty p = null;
         p = m.getAnnotation(ConfigurationProperty.class);
         if (p != null) {
            cprops = new ConfigurationProperty[] { p };
View Full Code Here

Examples of org.springframework.boot.context.properties.ConfigurationProperties

  /**
   * Extract configuration prefix from {@link ConfigurationProperties} annotation.
   */
  private String extractPrefix(String beanName, Object bean) {
    ConfigurationProperties annotation = AnnotationUtils.findAnnotation(
        bean.getClass(), ConfigurationProperties.class);
    if (this.beanFactoryMetaData != null) {
      ConfigurationProperties override = this.beanFactoryMetaData
          .findFactoryAnnotation(beanName, ConfigurationProperties.class);
      if (override != null) {
        // The @Bean-level @ConfigurationProperties overrides the one at type
        // level when binding. Arguably we should render them both, but this one
        // might be the most relevant for a starting point.
View Full Code Here

Examples of org.thenesis.lwuit.configuration.ConfigurationProperties

    private VirtualToolkit virtualToolkit;

    void init(Object m) {

        //Copy LWUIT config in the MicroBackend config
        ConfigurationProperties properties = Configuration.getAllProperties();
        org.thenesis.microbackend.ui.Configuration microBackendConfig = new org.thenesis.microbackend.ui.Configuration();
        for (int i = 0; i < properties.size(); i++) {
            microBackendConfig.addParameter(properties.getKeyAt(i), properties.getValueAt(i));
        }

        virtualToolkit = VirtualToolkit.getToolkit();
        virtualToolkit.initialize(m, microBackendConfig, backendEventListener);
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.