Top Description Fields Constructors Methods
javax.management

pack-priv Class ClassAttributeValueExp

extends AttributeValueExp
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
java.security.AccessController, com.sun.jmx.mbeanserver.GetPropertyAction

This class represents the name of the Java implementation class of the MBean. It is used for performing queries based on the class of the MBean.
Since
1.5

Field Summary

Modifier and TypeField and Description
private String
private static final long
private static final long
private static final long

Constructor Summary

AccessConstructor and Description
public
ClassAttributeValueExp()

Basic Constructor.

Method Summary

Modifier and TypeMethod and Description
public ValueExp

Returns:

The ValueExp.
apply
(ObjectName
The name of the MBean on which the ClassAttributeValueExp will be applied.
name
)

Overrides javax.management.AttributeValueExp.apply.

Implements javax.management.ValueExp.apply.

Applies the ClassAttributeValueExp on an MBean.
protected Object
public String
toString()

Overrides javax.management.AttributeValueExp.toString.

Returns the string "Class" representing its value
Inherited from javax.management.AttributeValueExp:
getAttributegetAttributeNamesetMBeanServer

Field Detail

attrback to summary
private String attr

Hides javax.management.AttributeValueExp.attr.

newSerialVersionUIDback to summary
private static final long newSerialVersionUID
oldSerialVersionUIDback to summary
private static final long oldSerialVersionUID
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.management.AttributeValueExp.serialVersionUID.

Constructor Detail

ClassAttributeValueExpback to summary
public ClassAttributeValueExp()

Basic Constructor.

Method Detail

applyback to summary
public ValueExp apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException

Overrides javax.management.AttributeValueExp.apply.

Implements javax.management.ValueExp.apply.

Applies the ClassAttributeValueExp on an MBean. Returns the name of the Java implementation class of the MBean.

Parameters
name:ObjectName

The name of the MBean on which the ClassAttributeValueExp will be applied.

Returns:ValueExp

The ValueExp.

Exceptions
BadStringOperationException:

Doc from javax.management.AttributeValueExp.apply.

when an invalid string operation is passed to a method for constructing a query

BadBinaryOpValueExpException:

Doc from javax.management.AttributeValueExp.apply.

when an invalid expression is passed to a method for constructing a query

BadAttributeValueExpException:

Doc from javax.management.AttributeValueExp.apply.

when an invalid MBean attribute is passed to a query constructing method

InvalidApplicationException:

Doc from javax.management.AttributeValueExp.apply.

when an invalid apply is attempted

getValueback to summary
protected Object getValue(ObjectName name)
toStringback to summary
public String toString()

Overrides javax.management.AttributeValueExp.toString.

Returns the string "Class" representing its value

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object