The SNMP manager API simplifies the development of Java applications for managing SNMP agents. Its classes represent SNMP manager concepts such as sessions, parameters, and peers through Java objects. Using this API, you can develop an application which can issue requests to SNMP agents.
For example, you could instrument and SNMP resource using the SNMP manager API. You would define a management interface that corresponds to your resource's MIB: variables are easily mapped as MBean attributes. In response to calls on the attribute getters and setters, your MBean would construct and issue SNMP request to the SNMP agent which represents the resource.
The SNMP manager API supports requests in either the SNMP v1 or v2 protocol, including inform requests for communicating between SNMP managers. The manager API is used to access any compliant SNMP agent including those developed using the Java Dynamic Management Kit.