GWT 2.6.0.vaadin2

com.google.gwt.core.client
Class RuntimePropertyRegistry

java.lang.Object
  extended by com.google.gwt.core.client.RuntimePropertyRegistry

public class RuntimePropertyRegistry
extends java.lang.Object

A queryable runtime registry of binding property providers and configuration property values.
Supports the execution of runtime rebinding by providing property value lookup to executing runtime rebind rules.


Nested Class Summary
static class RuntimePropertyRegistry.PropertyValueProvider
          A base for classes that can return or calculate a value for a property.
 
Constructor Summary
RuntimePropertyRegistry()
           
 
Method Summary
static java.lang.String getPropertyValue(java.lang.String propertyName)
          Returns the value for the given property name.
static void registerPropertyValueProvider(RuntimePropertyRegistry.PropertyValueProvider propertyValueProvider)
          Registers the given property value provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimePropertyRegistry

public RuntimePropertyRegistry()
Method Detail

getPropertyValue

public static java.lang.String getPropertyValue(java.lang.String propertyName)
Returns the value for the given property name. On first access the matching property value provider is found and executed while subsequent access are served from a cache.


registerPropertyValueProvider

public static void registerPropertyValueProvider(RuntimePropertyRegistry.PropertyValueProvider propertyValueProvider)
Registers the given property value provider. Registered providers are indexed by property name for fast retrieval.


GWT 2.6.0.vaadin2