org.gswing.framework.services
Interface IPropertyManagement

All Known Implementing Classes:
PropertyManager

public interface IPropertyManagement

Manages the changes to the properties file.


Method Summary
 void deRegister(IPropertyListener listener)
          De-register with the property manager for updates.
 String get(String property)
          Get the current value of a property.
 void register(IPropertyListener listener)
          Register with the property manager for updates to changes to property values.
 void set(String key, String value)
           
 void update(String property, Object value)
          Update the value of a property.
 

Method Detail

update

void update(String property,
            Object value)
Update the value of a property.

Parameters:
property - The property name.
value - The new value.

get

String get(String property)
Get the current value of a property.

Parameters:
property - The property key.
Returns:
The current value.

set

void set(String key,
         String value)

register

void register(IPropertyListener listener)
Register with the property manager for updates to changes to property values.

Parameters:
listener - The property listener.

deRegister

void deRegister(IPropertyListener listener)
De-register with the property manager for updates.

Parameters:
listener - The message listener.


Copyright © 2008. All Rights Reserved.