AttributeValueExp (Java SE 15 & JDK 15) (original) (raw)

All Implemented Interfaces:

[Serializable](../../../java.base/java/io/Serializable.html "interface in java.io"), [ValueExp](ValueExp.html "interface in javax.management")


public class AttributeValueExp extends Object implements ValueExp

Represents attributes used as arguments to relational constraints. Instances of this class are usually obtained using Query.attr.

An AttributeValueExp may be used anywhere aValueExp is required.

Since:

1.5

See Also:

Serialized Form

Constructors

Constructor Description
AttributeValueExp() Deprecated.
AttributeValueExp​(String attr) Creates a new AttributeValueExp representing the specified object attribute, named attr.
Modifier and Type Method Description
ValueExp apply​(ObjectName name) Applies the AttributeValueExp on an MBean.
protected Object getAttribute​(ObjectName name) Return the value of the given attribute in the named MBean.
String getAttributeName() Returns a string representation of the name of the attribute.
void setMBeanServer​(MBeanServer s) Deprecated.
String toString() Returns the string representing its value.