com.ibm.soa.common.mbean
Interface CustomProperties

All Superinterfaces:
GeneralProperties, com.ibm.soa.common.mbean.SettingsHelperIF

public interface CustomProperties
extends GeneralProperties

The CustomProperties interface describes the interface to an MBean that allows the set of properties to be modified by adding/removing additional properties.


Method Summary
 void addAttribute(java.lang.String name, java.lang.String value)
          Add a custom property value
 void loadMBean(java.lang.String attributeName)
          Load the MBean for the attribute just created.
 void removeAttribute(java.lang.String name)
          Remove a custom attribute
 void removeMBean(java.lang.String attributeName)
          Remove the MBean for the attribute just created.
 
Methods inherited from interface com.ibm.soa.common.mbean.GeneralProperties
getAttributeContext, getAttributePossibleValues, getAttributeProperties, getAttributeType, getContext, getDisplayName, getDisplayName, setContext, setDisplayName
 

Method Detail

removeAttribute

void removeAttribute(java.lang.String name)
                     throws javax.management.MBeanException
Remove a custom attribute

Parameters:
name - the name of the attribute
Throws:
javax.management.MBeanException - on removal error

addAttribute

void addAttribute(java.lang.String name,
                  java.lang.String value)
                  throws javax.management.InvalidAttributeValueException,
                         javax.management.MBeanException
Add a custom property value

Parameters:
name - the name of the attribute
value - the value
Throws:
javax.management.InvalidAttributeValueException - on length error
javax.management.MBeanException - on add error

loadMBean

void loadMBean(java.lang.String attributeName)
Load the MBean for the attribute just created.

Parameters:
attributeName - attribute name

removeMBean

void removeMBean(java.lang.String attributeName)
Remove the MBean for the attribute just created.

Parameters:
attributeName - attribute name


Copyright © 2006 IBM Corp. All Rights Reserved.