| | |
| | | import static org.opends.server.util.ServerConstants.MBEAN_BASE_DOMAIN; |
| | | import static org.opends.server.util.StaticUtils.isAlpha; |
| | | import static org.opends.server.util.StaticUtils.isDigit; |
| | | import static org.opends.server.schema.SchemaConstants.SYNTAX_INTEGER_OID; |
| | | |
| | | /** |
| | | * This class defines a JMX MBean that can be registered with the Directory |
| | |
| | | * associated with this MBean. |
| | | */ |
| | | @Override |
| | | public Attribute getAttribute(String attributeName) |
| | | public Object getAttribute(String attributeName) |
| | | throws AttributeNotFoundException |
| | | { |
| | | // Get the jmx Client connection |
| | |
| | | throw new AttributeNotFoundException(message.toString()); |
| | | } |
| | | |
| | | return getJmxAttribute(attributeName); |
| | | return getJmxAttribute(attributeName).getValue(); |
| | | } |
| | | catch (AttributeNotFoundException e) |
| | | { |