*/
Iterator it = mappings.iterator();
while (it.hasNext())
{
ManagedBean mmb = (ManagedBean)it.next();
String oidPrefix = mmb.getOidPrefix();
List attrs = mmb.getAttributes();
Iterator aIt = attrs.iterator();
while (aIt.hasNext())
{
MappedAttribute ma = (MappedAttribute)aIt.next();
String oid;
if (oidPrefix != null)
oid = oidPrefix + ma.getOid();
else
oid = ma.getOid();
BindEntry be = new BindEntry(oid, mmb.getName(), ma.getName());
be.isReadWrite = ma.isReadWrite();
ComparableSnmpObjectId coid = new ComparableSnmpObjectId(oid);
if (log.isTraceEnabled())
log.trace("New bind entry " + be);
if (bindings.containsKey(coid)) {
log.info("Duplicate oid " + oid + SKIP_ENTRY);
continue;
}
if (mmb.getName() == null || mmb.getName().equals(""))
{
log.info("Invalid mbean name for oid " + oid + SKIP_ENTRY);
continue;
}
if (ma.getName() == null || ma.getName().equals(""))