Examples of PropertyConfiguration


Examples of com.draagon.wii.config.PropertyConfiguration

        }
        catch( IOException e ) {
          throw new ServletException( "Could not load Webii properties file [" + propsName + "]: " + e.getMessage() );
        }

        initialize( config, new PropertyConfiguration( mWIIProps ));
    }
View Full Code Here

Examples of dev.db.biz.configuration.property.annotations.PropertyConfiguration

  public synchronized void loadPropertyConfigurationObject( Object configurationObject ) throws Exception {
    if( configurationObject == null ) {
      throw new IllegalArgumentException( "configurationObject cannot be null" );
    }
   
    PropertyConfiguration propertyConfiguration = configurationObject.getClass().getAnnotation( PropertyConfiguration.class );
   
    validateConfigurationObject( propertyConfiguration );
   
    Properties properties = loadingLogic.getProperties( propertyConfiguration.name() );
   
    loadPropertyConfigurationObject( configurationObject, properties, "" );
  }
View Full Code Here

Examples of dev.db.biz.configuration.property.annotations.PropertyConfiguration

   */
  public synchronized void refresh() throws Exception {
    LOG.fine( "refreshing configuration  " );
   
    for( Class<?> configurationObjectClass : listenerRegistrations.keySet() ) {
      PropertyConfiguration propertyConfiguration = configurationObjectClass.getAnnotation( PropertyConfiguration.class );
     
      // should not happen but anyway
      if( propertyConfiguration == null ) {
        continue;
      }
     
      if( loadingLogic.isCached( propertyConfiguration.name() ) ) {
        continue;
      }
     
      Object configurationObject = loadPropertyConfigurationObject( configurationObjectClass );
      fireConfigurationListeners(configurationObject, listenerRegistrations.get(configurationObjectClass));
View Full Code Here

Examples of org.jboss.config.plugins.property.PropertyConfiguration

    *
    * @param properties the properties
    */
   public PropertyKernelConfig(Properties properties)
   {
      super(new PropertyConfiguration(properties));
      initializeProperties();
   }
View Full Code Here

Examples of org.jboss.config.plugins.property.PropertyConfiguration

      initializeProperties();
   }

   protected Properties getProperties()
   {
      PropertyConfiguration config = (PropertyConfiguration) configuration;
      return config.getProperties();
   }
View Full Code Here

Examples of org.jboss.config.plugins.property.PropertyConfiguration

    *
    * @param properties the properties
    */
   public PropertyKernelConfig(Properties properties)
   {
      super(new PropertyConfiguration(properties));
      initializeProperties();
   }
View Full Code Here

Examples of org.jboss.config.plugins.property.PropertyConfiguration

      initializeProperties();
   }

   protected Properties getProperties()
   {
      PropertyConfiguration config = (PropertyConfiguration) configuration;
      return config.getProperties();
   }
View Full Code Here

Examples of org.jboss.config.plugins.property.PropertyConfiguration

class PropertyConfigurationAccess
   implements PrivilegedAction<Configuration>
{
   public Configuration run()
   {
      return new PropertyConfiguration();
   }
View Full Code Here

Examples of org.jboss.config.plugins.property.PropertyConfiguration

         PropertyConfigurationAccess pca = new PropertyConfigurationAccess();
         config = AccessController.doPrivileged(pca);
      }
      else
      {
         config = new PropertyConfiguration();
      }
      return config;
   }
View Full Code Here

Examples of org.jboss.config.plugins.property.PropertyConfiguration

    *
    * @param properties the properties
    */
   public PropertyKernelConfig(Properties properties)
   {
      super(new PropertyConfiguration(properties));
      initializeProperties();
   }
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.