com.netflix.config.jmx
Interface ConfigMBean

All Known Implementing Classes:
BaseConfigMBean

public interface ConfigMBean

Configuration MBean Operations are defined in this interface


Method Summary
 void addProperty(java.lang.String key, java.lang.String value)
          Adds a new property to the configuration
 void clearProperty(java.lang.String key)
          Deletes the property identified by the passed in key
 java.lang.Object getProperty(java.lang.String key)
          Returns the current value of a property given a key
 java.lang.Object obtainProperties()
          Returns all Properties.
 void updateProperty(java.lang.String key, java.lang.String value)
          Updates an existing property with the new value
 

Method Detail

obtainProperties

java.lang.Object obtainProperties()
Returns all Properties. Yes, this should have ideally returned a Properties, but doing so will make this operation dissapear from the JConsole.


getProperty

java.lang.Object getProperty(java.lang.String key)
Returns the current value of a property given a key

Parameters:
key -

addProperty

void addProperty(java.lang.String key,
                 java.lang.String value)
Adds a new property to the configuration

Parameters:
key -
value -

updateProperty

void updateProperty(java.lang.String key,
                    java.lang.String value)
Updates an existing property with the new value

Parameters:
key -
value -

clearProperty

void clearProperty(java.lang.String key)
Deletes the property identified by the passed in key

Parameters:
key -