org.wso2.carbon.registry.admin.api.jmx
Interface IPropertyService


public interface IPropertyService

Contains API for managing properties.


Method Summary
 String[] getProperties(String path)
          Retrieves all properties of a given resource.
 String getProperty(String path, String key)
          Method to retrieve the value of a specific property.
 void removeProperty(String path, String key)
          Method to delete a property.
 void setProperty(String path, String key, String value)
          Method to set a property.
 

Method Detail

getProperties

String[] getProperties(String path)
Retrieves all properties of a given resource.

Parameters:
path - The resource path.
Returns:
list of properties.

getProperty

String getProperty(String path,
                   String key)
Method to retrieve the value of a specific property.

Parameters:
path - The resource path.
key - The property key.
Returns:
the property value.

setProperty

void setProperty(String path,
                 String key,
                 String value)
Method to set a property.

Parameters:
path - The resource path.
key - The property key.
value - The property value.

removeProperty

void removeProperty(String path,
                    String key)
Method to delete a property.

Parameters:
path - The resource path.
key - The property key.


Copyright © 2012 WSO2 Inc. All Rights Reserved.