| | |
| | | import javax.swing.SwingConstants; |
| | | import javax.swing.table.DefaultTableCellRenderer; |
| | | |
| | | import org.forgerock.opendj.ldap.Attribute; |
| | | import org.opends.guitools.controlpanel.datamodel.BackendDescriptor; |
| | | import org.opends.guitools.controlpanel.datamodel.BackendDescriptor.PluggableType; |
| | | import org.opends.guitools.controlpanel.datamodel.DatabaseMonitoringTableModel; |
| | |
| | | Set<String> attrNames = new HashSet<>(); |
| | | if (backend.getMonitoringEntry() != null) |
| | | { |
| | | Set<String> allNames = backend.getMonitoringEntry().getAttributeNames(); |
| | | for (String attrName : allNames) |
| | | for (Attribute attribute : backend.getMonitoringEntry().getAllAttributes()) |
| | | { |
| | | String attrName = attribute.getAttributeDescriptionAsString(); |
| | | if (!attrName.equalsIgnoreCase(ServerConstants.OBJECTCLASS_ATTRIBUTE_TYPE_NAME) |
| | | && !attrName.equalsIgnoreCase(ServerConstants.ATTR_COMMON_NAME)) |
| | | { |