|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.management.AttributeValueExp
public class AttributeValueExp
表示用作关系约束参数的属性。可在需要 ValueExp 的任何地方使用 AttributeValueExp。
| 构造方法摘要 | |
|---|---|
AttributeValueExp()
已过时。 在查询中不能使用此构造方法所创建的实例。 |
|
AttributeValueExp(String attr)
创建一个表示指定对象属性 attr 的新 AttributeValueExp。 |
|
| 方法摘要 | |
|---|---|
ValueExp |
apply(ObjectName name)
在 MBean 上应用 AttributeValueExp。 |
protected Object |
getAttribute(ObjectName name)
返回指定的 MBean 中给定属性的值。 |
String |
getAttributeName()
返回该属性名称的字符串表示形式。 |
void |
setMBeanServer(MBeanServer s)
设置要在其上执行查询的 MBean 服务器。 |
String |
toString()
返回表示其值的字符串。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
@Deprecated public AttributeValueExp()
AttributeValueExp。
public AttributeValueExp(String attr)
AttributeValueExp。
attr - 属性名称,该属性的值是此 ValueExp 的值。| 方法详细信息 |
|---|
public String getAttributeName()
public ValueExp apply(ObjectName name)
throws BadStringOperationException,
BadBinaryOpValueExpException,
BadAttributeValueExpException,
InvalidApplicationException
AttributeValueExp。
ValueExp 中的 applyname - MBean 的名称,将在该 MBean 上应用 AttributeValueExp。
ValueExp。
BadAttributeValueExpException
InvalidApplicationException
BadStringOperationException
BadBinaryOpValueExpExceptionpublic String toString()
Object 中的 toStringpublic void setMBeanServer(MBeanServer s)
ValueExp 中的 setMBeanServers - 要在其上执行查询的 MBean 服务器。protected Object getAttribute(ObjectName name)
name - 要返回其属性的 MBean 名称。
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。