|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueExp
Represents values that may be passed as arguments to
QueryExp
s. Strings, numbers and bean attributes
are all valid argument types for query expressions, and
so should be represented as implementations of this
interface.
Method Summary | |
---|---|
ValueExp |
apply(ObjectName name)
Applies the value expression to the specified management bean. |
void |
setMBeanServer(MBeanServer server)
Deprecated. This method is superfluous, as the ValueExp
can access the server using
QueryEval.getMBeanServer() . |
Method Detail |
---|
ValueExp apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException
name
- the name of the management bean.
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.void setMBeanServer(MBeanServer server)
ValueExp
can access the server using
QueryEval.getMBeanServer()
.
MBeanServer
on which this query is performed.
server
- the new server to use.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |