How does the MibLoader search for MIB files?
The MibLoader class searches for MIB files in the following order: • File names in the search path – The search path is a list of directories where the MibLoader looks for files having the same name as the MIB module to be loaded. The comparison is made on case-insensitive file name, ignoring any file name extensions. • Files in the resource path – The resource path is a list of directories for Java ClassLoader resources. The MibLoader looks for a resource with the exact MIB module name in each of these directories. • File content in the search path – As a final measure all files in the search path are opened and the first few lines are read to identify their MIB module names. This search is generally slow and should be avoided by naming MIB files after their MIB module name.