public interface DescriptorAccess extends DescriptorRead
modelmbeans使该接口广泛应用在ModelMBeanInfo类。
Modifier and Type | Method and Description |
---|---|
void |
setDescriptor(Descriptor inDescriptor)
设置描述符(完全替换)。
|
getDescriptor
void setDescriptor(Descriptor inDescriptor)
inDescriptor
-取代的组件实现此接口关联描述符。如果indescriptor它被设定为信息对象的类型是无效的,则抛出一个异常。如果indescriptor是null,那么描述符将恢复为默认值,应该包含,至少,描述符的名字和descriptortype。
DescriptorRead.getDescriptor()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.