ValueExp (Java SE 15 & JDK 15) (original) (raw)
All Superinterfaces:
[Serializable](../../../java.base/java/io/Serializable.html "interface in java.io")
All Known Implementing Classes:
[AttributeValueExp](AttributeValueExp.html "class in javax.management")
, [StringValueExp](StringValueExp.html "class in javax.management")
public interface ValueExp extends Serializable
Represents values that can be passed as arguments to relational expressions. Strings, numbers, attributes are valid values and should be represented by implementations of ValueExp
.
Since:
1.5
Method Summary
Method Details
apply
Applies the ValueExp on a MBean.
Parameters:
name
- The name of the MBean on which the ValueExp will be applied.
Returns:
TheValueExp
.
Throws:
[BadStringOperationException](BadStringOperationException.html "class in javax.management")
- when an invalid string operation is passed to a method for constructing a query
[BadBinaryOpValueExpException](BadBinaryOpValueExpException.html "class in javax.management")
- when an invalid expression is passed to a method for constructing a query
[BadAttributeValueExpException](BadAttributeValueExpException.html "class in javax.management")
- when an invalid MBean attribute is passed to a query constructing method
[InvalidApplicationException](InvalidApplicationException.html "class in javax.management")
- when an invalid apply is attemptedsetMBeanServer
Sets the MBean server on which the query is to be performed.
Parameters:
s
- The MBean server on which the query is to be performed.