Lines Matching defs:descriptor

89  * <li>{@link #getDescriptor()} returns a descriptor containing the contents
90 * of any descriptor annotations in the MBean interface (see
115 private transient Descriptor descriptor;
218 * @param descriptor The descriptor for the MBean. This may be null
219 * which is equivalent to an empty descriptor.
229 Descriptor descriptor)
252 if (descriptor == null)
253 descriptor = ImmutableDescriptor.EMPTY_DESCRIPTOR;
254 this.descriptor = descriptor;
444 * Get the descriptor of this MBeanInfo. Changing the returned value
445 * will have no affect on the original descriptor.
447 * @return a descriptor that is either immutable or a copy of the original.
452 return (Descriptor) nonNullDescriptor(descriptor).clone();
464 "descriptor=" + getDescriptor() +
632 * is called first to serialize the object except the field {@code descriptor}
633 * which is declared as transient. The field {@code descriptor} is serialized
636 * <li> If {@code descriptor} is an instance of the class
641 * {@code descriptor}, respectively as a {@code String[]} and an
646 * to serialize the field {@code descriptor} directly.
654 if (descriptor.getClass() == ImmutableDescriptor.class) {
657 final String[] names = descriptor.getFieldNames();
660 out.writeObject(descriptor.getFieldValues(names));
664 out.writeObject(descriptor);
675 * {@code descriptor}, which is not serialized in the default way. Then the method
677 * {@code descriptor} is deserialized according to the value of the byte value:
681 * the field values (a {@code Object[]}) of the {@code descriptor}.
684 * {@code descriptor};</li>
685 * <li>0. The value for the field {@code descriptor} is obtained directly
687 * If the obtained value is null, the field {@code descriptor} is set to
690 * an earlier version of the JMX API. The field {@code descriptor} is set to
708 descriptor = ImmutableDescriptor.EMPTY_DESCRIPTOR;
711 descriptor = new ImmutableDescriptor(names, values);
716 descriptor = (Descriptor)in.readObject();
718 if (descriptor == null) {
719 descriptor = ImmutableDescriptor.EMPTY_DESCRIPTOR;
724 descriptor = ImmutableDescriptor.EMPTY_DESCRIPTOR;