javax.management
Interface DescriptorAccess

All Superinterfaces:
DescriptorRead

public interface DescriptorAccess
extends DescriptorRead

Allows the descriptor of a management element to be changed.

Since:
1.5

Method Summary
 void setDescriptor(Descriptor descriptor)
          Replaces the descriptor of this management element with the one specified.
 
Methods inherited from interface javax.management.DescriptorRead
getDescriptor
 

Method Detail

setDescriptor

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:
DescriptorRead.getDescriptor()