Java Dynamic Management Kit 3.2 Programming Guide
[ Previous ][ Fast Back ]Chapter 20. Developing SNMP Managers With the Java Dynamic Management Kit [ Next ]

Loading Metadata Into the MibStore

Metadata generated by the mibgen compiler can be loaded into the MibStore for use by SNMP manager applications. Example 20-5 shows two ways of loading a metadata file generated from a MIB called RFC1213.

Example 20-5. Loading Metadata into the MibStore

MibStore.addMib(new RFC1213_MIBStore());

// or

SnmpMain.initializeSNMP(new RFC1213_MIBStore());


[ Previous ][ Home ][ Next ]
Operation of the SNMP Manager[ Up ]SNMP Traps