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 - 要应用ValueExp的MBean的名称。
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.