| java.lang.Object | |
| ↳ | javax.management.AttributeValueExp |
Represents attributes used as arguments to relational constraints.
An AttributeValueExp may be used anywhere a ValueExp is required.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This constructor is deprecated.
An instance created with this constructor cannot be
used in a query.
| |||||||||||
Creates a new
AttributeValueExp representing the
specified object attribute, named attr. | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Applies the
AttributeValueExp on an MBean. | |||||||||||
Returns a string representation of the name of the attribute.
| |||||||||||
Sets the MBean server on which the query is to be performed.
| |||||||||||
Returns the string representing its value.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Return the value of the given attribute in the named MBean.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
javax.management.ValueExp
| |||||||||||
This constructor is deprecated.
An instance created with this constructor cannot be
used in a query.
An AttributeValueExp with a null attribute.
Creates a new AttributeValueExp representing the
specified object attribute, named attr.
| attr | the name of the attribute whose value is the value
of this ValueExp.
|
|---|
Applies the AttributeValueExp on an MBean.
| name | The name of the MBean on which the AttributeValueExp will be applied. |
|---|
ValueExp.| BadAttributeValueExpException | |
| InvalidApplicationException | |
| BadStringOperationException | |
| BadBinaryOpValueExpException | |
| BadAttributeValueExpException | |
| BadStringOperationException | |
| InvalidApplicationException |
Returns a string representation of the name of the attribute.
Sets the MBean server on which the query is to be performed.
| s | The MBean server on which the query is to be performed. |
|---|
Returns the string representing its value.
Return the value of the given attribute in the named MBean. If the attempt to access the attribute generates an exception, return null.
| name | the name of the MBean whose attribute is to be returned. |
|---|