public interface QueryExp extends Serializable
表示与数据库查询“在子句”中的关系约束。实例queryexp的Query
类的静态方法返回。
这是可能的,但不推荐,通过实现此接口来创建自定义查询。在这种情况下,它是延长QueryEval
类比直接实现接口,使setMBeanServer(javax.management.MBeanServer)
方法正确。
MBeanServer.queryNames
Modifier and Type | Method and Description |
---|---|
boolean |
apply(ObjectName name)
适用于queryexp MBean的。
|
void |
setMBeanServer(MBeanServer s)
集的MBean服务器的查询被执行。
|
boolean apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException
name
-名称的MBean,QueryExp将应用。
BadStringOperationException
BadBinaryOpValueExpException
BadAttributeValueExpException
InvalidApplicationException
void setMBeanServer(MBeanServer s)
s
的MBean服务器的查询被执行。
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.