javax.management

Interface DescriptorAccess

public interface DescriptorAccess extends DescriptorRead

Allows the descriptor of a management element to be changed.

Since: 1.5

Method Summary
voidsetDescriptor(Descriptor descriptor)
Replaces the descriptor of this management element with the one specified.

Method Detail

setDescriptor

public void setDescriptor(Descriptor descriptor)
Replaces the descriptor of this management element with the one specified. If the specified descriptor is null, the descriptor of the element will be returned to its default, which must at least contain a name and type. If the specified descriptor is invalid for this management element, an exception is thrown.

Parameters: descriptor the new descriptor to use.

See Also: getDescriptor