javax.management
public interface ValueExp extends Serializable
Since: 1.5
Method Summary | |
---|---|
ValueExp | apply(ObjectName name)
Applies the value expression to the specified management bean.
|
void | setMBeanServer(MBeanServer server)
Changes the {@link MBeanServer} on which this query is performed.
|
Parameters: name the name of the management bean.
Returns: the value expression.
Throws: BadStringOperationException if an invalid string operation is used by the value expression. BadBinaryOpValueExpException if an invalid expression is used by the value expression. BadAttributeValueExpException if an invalid attribute is used by the value expression. InvalidApplicationException if the value expression is applied to the wrong type of bean.
Deprecated: This method is superfluous, as the {@link ValueExp} can access the server using {@link QueryEval#getMBeanServer()}.
Changes the {@link MBeanServer} on which this query is performed.Parameters: server the new server to use.