Solaris Bandwidth Manager 1.6 Developer Guide

Configuration m-bean

The configuration m-bean provides classes and methods for configuring Solaris Bandwidth Manager. The main methods provided are:

Table 2-1 Configuration M-bean Classes and Methods

Class 

Method 

Description 

QDynamicConf

addQClassListener()

Registers a listener for receiving class events 

addQFilterListener()

Registers a listener for receiving filter events 

performAddClass()

Adds the specified class to the running configuration 

performAddFilterToClass()

Adds a filter to the specified class 

performGetService()

Returns the specified service 

performModifyClass()

Changes the attributes of the specified class. It this is not possible, removes the class and re-creates it. 

performModifyFilter()

Changes the attributes of the specified filter 

performRemoveClass()

Removes specified class and its children from the running configuration 

performRemoveFilterFromClass()

Removes the specified filter 

removeQClassListener()

Removes listener for class events 

removeQFilterListener()

Removes a listener for filter events 

setTimeout()

Sets the timeout property and starts or restarts the garbage collection thread. 

To call the configuration m-bean, you require the following:

M-bean name 

QConstants.confMOName

M-bean class name 

com.sun.ba.config.QDynamicConf

C-bean class name 

com.sun.ba.mo.QDynamicConfMO