Solaris Bandwidth Manager 1.6 Developer Guide

Writing Your Own m-beans

The Solaris Bandwidth Manager plug-ins allow the policy agent to obtain m-beans from a remote .jar file. Using the Java APIs in this way means that your applications are fully integrated into the policy agent and modify the way it works. This section contains an overview of the way in which the policy agent acts when m-beans are started and stopped, as well as a summary of the tasks that the developer must carry out to ensure that new m-beans operate correctly with the policy agent.

The example code in this section is contained in the /opt/SUNWconn/ba/html/examples directory.

Policy Agent Operation

The Solaris Bandwidth Manager policy agent carries out a number of tasks automatically. They are described below.

Intializing and Starting an m-bean

When intializing and starting an m-bean, the policy agent:

Stopping an m-bean

To stop an m-bean, the policy agent:

Development Overview

When writing an m-bean, you must: