public class StringValueExp extends Object implements ValueExp
StringValueExp可以用于任何一个
ValueExp是必需的。
| Constructor and Description |
|---|
StringValueExp()
基本的构造函数。
|
StringValueExp(String val)
创建表示给定字符串的一个新的
StringValueExp。
|
| Modifier and Type | Method and Description |
|---|---|
ValueExp |
apply(ObjectName name)
适用于一个MBean的valueexp。
|
String |
getValue()
返回由
StringValueExp实例表示的字符串。
|
void |
setMBeanServer(MBeanServer s)
过时的。
|
String |
toString()
返回表示对象的字符串。
|
public StringValueExp()
public StringValueExp(String val)
StringValueExp。
val的字符串,将这个表达式的值
public String getValue()
StringValueExp实例表示的字符串。
@Deprecated public void setMBeanServer(MBeanServer s)
setMBeanServer 接口
ValueExp
s的MBean服务器的查询被执行。
public ValueExp apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException
apply 接口
ValueExp
name -名称的MBean的valueexp将应用。
ValueExp。
BadStringOperationException
BadBinaryOpValueExpException
BadAttributeValueExpException
InvalidApplicationException
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.