Top Description Fields Constructors Methods
javax.management

pack-priv Class QualifiedAttributeValueExp

extends AttributeValueExp
Class Inheritance

Represents attributes used as arguments to relational constraints, where the attribute must be in an MBean of a specified class. A QualifiedAttributeValueExp may be used anywhere a ValueExp is required.

Since
1.5

Field Summary

Modifier and TypeField and Description
private String
private static final long

Constructor Summary

AccessConstructor and Description
public
public
QualifiedAttributeValueExp(String className, String attr)

Creates a new QualifiedAttributeValueExp representing the specified object attribute, named attr with class name className.

Method Summary

Modifier and TypeMethod and Description
public ValueExp

Returns:

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

Overrides javax.management.AttributeValueExp.apply.

Implements javax.management.ValueExp.apply.

Applies the QualifiedAttributeValueExp to an MBean.

public String
getAttrClassName()

Returns a string representation of the class name of the attribute.

public String
toString()

Overrides javax.management.AttributeValueExp.toString.

Returns the string representing its value

Inherited from javax.management.AttributeValueExp:
getAttributegetAttributeNamesetMBeanServer

Field Detail

classNameback to summary
private String className
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.management.AttributeValueExp.serialVersionUID.

Constructor Detail

QualifiedAttributeValueExpback to summary
public QualifiedAttributeValueExp()

Basic Constructor.

Annotations
@Deprecated
QualifiedAttributeValueExpback to summary
public QualifiedAttributeValueExp(String className, String attr)

Creates a new QualifiedAttributeValueExp representing the specified object attribute, named attr with class name className.

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 QualifiedAttributeValueExp to an MBean.

Parameters
name:ObjectName

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

Returns:ValueExp

The ValueExp.

Annotations
@Override
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

getAttrClassNameback to summary
public String getAttrClassName()

Returns a string representation of the class name of the attribute.

toStringback to summary
public String toString()

Overrides javax.management.AttributeValueExp.toString.

Returns the string representing its value

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object

Annotations
@Override