/** * * @param oid * The OID bound to this particular attribute * @param mmb * the name of the MBean server * @param ma * the name of the MBeam attribute the OID is concerning * @param rw * indicates whether this Attribute is read-write or not * (readonly if false) */ private void addBindEntry(OID coid, String mmb, String ma, boolean rw) { BindEntry be = new BindEntry(coid, mmb, ma); be.setReadWrite(rw); if (log.isTraceEnabled()) log.trace("New bind entry " + be); if (tableBindings.containsKey(coid)) { log.info("Duplicate oid " + coid + RequestHandlerImpl.SKIP_ENTRY); } if (mmb == null || mmb.equals("")) { log.info("Invalid mbean name for oid " + coid + RequestHandlerImpl.SKIP_ENTRY); } if (ma == null || ma.equals("")) { log.info("Invalid attribute name " + ma + " for oid " + coid + RequestHandlerImpl.SKIP_ENTRY); } tableBindings.put(coid, be); }
/** * * @param oid * The OID bound to this particular attribute * @param mmb * the name of the MBean server * @param ma * the name of the MBeam attribute the OID is concerning * @param rw * indicates whether this Attribute is read-write or not * (readonly if false) */ private void addBindEntry(OID coid, String mmb, String ma, boolean rw) { BindEntry be = new BindEntry(coid, mmb, ma); be.setReadWrite(rw); if (log.isTraceEnabled()) log.trace("New bind entry " + be); if (tableBindings.containsKey(coid)) { log.info("Duplicate oid " + coid + RequestHandlerImpl.SKIP_ENTRY); } if (mmb == null || mmb.equals("")) { log.info("Invalid mbean name for oid " + coid + RequestHandlerImpl.SKIP_ENTRY); } if (ma == null || ma.equals("")) { log.info("Invalid attribute name " + ma + " for oid " + coid + RequestHandlerImpl.SKIP_ENTRY); } tableBindings.put(coid, be); }
/** * * @param oid The OID bound to this particular attribute * @param mmb the name of the MBean server * @param ma the name of the MBeam attribute the OID is concerning * @param rw indicates whether this Attribute is read-write or not (readonly if false) */ private void addBindEntry(String oid, String mmb, String ma, boolean rw){ OID coid = new OID(oid); BindEntry be = new BindEntry(coid, mmb, ma); be.setReadWrite(rw); if (log.isTraceEnabled()) log.trace("New bind entry " + be); if (bindings.containsKey(coid)) { log.info("Duplicate oid " + oid + SKIP_ENTRY); } if (mmb == null || mmb.equals("")) { log.info("Invalid mbean name for oid " + oid + SKIP_ENTRY); } if (ma == null || ma.equals("")) { log.info("Invalid attribute name " + ma + " for oid " + oid + SKIP_ENTRY); } bindings.put(coid, be); oidKeys.add(coid); }
/** * * @param oid The OID bound to this particular attribute * @param mmb the name of the MBean server * @param ma the name of the MBeam attribute the OID is concerning * @param rw indicates whether this Attribute is read-write or not (readonly if false) */ private void addBindEntry(String oid, String mmb, String ma, boolean rw){ OID coid = new OID(oid); BindEntry be = new BindEntry(coid, mmb, ma); be.setReadWrite(rw); if (log.isTraceEnabled()) log.trace("New bind entry " + be); if (bindings.containsKey(coid)) { log.info("Duplicate oid " + oid + SKIP_ENTRY); } if (mmb == null || mmb.equals("")) { log.info("Invalid mbean name for oid " + oid + SKIP_ENTRY); } if (ma == null || ma.equals("")) { log.info("Invalid attribute name " + ma + " for oid " + oid + SKIP_ENTRY); } bindings.put(coid, be); oidKeys.add(coid); }
protected BindEntry clone(){ BindEntry bindEntry = new BindEntry(oid, mName, aName); bindEntry.setAttr(attr); bindEntry.setMbean(mbean); bindEntry.setReadWrite(isReadWrite); bindEntry.setTable(isTable); return bindEntry; } }
protected BindEntry clone(){ BindEntry bindEntry = new BindEntry(oid, mName, aName); bindEntry.setAttr(attr); bindEntry.setMbean(mbean); bindEntry.setReadWrite(isReadWrite); bindEntry.setTable(isTable); return bindEntry; } }
BindEntry be = new BindEntry(coid, mmb.getName(), ma.getName()); be.setReadWrite(ma.isReadWrite()); be.setTable(ma.isAttributeTable());
BindEntry be = new BindEntry(coid, mmb.getName(), ma.getName()); be.setReadWrite(ma.isReadWrite()); be.setTable(ma.isAttributeTable());