Lines Matching defs:MXBean

55     <p>Annotation to mark an interface explicitly as being an MXBean
56 interface, or as not being an MXBean interface. By default, an
57 interface is an MXBean interface if its name ends with {@code
58 MXBean}, as in {@code SomethingMXBean}. The following interfaces
59 are MXBean interfaces:</p>
64 &#64;MXBean
67 &#64;MXBean(true)
71 <p>The following interfaces are not MXBean interfaces:</p>
76 &#64;MXBean(false)
80 <h3 id="MXBean-spec">MXBean specification</a></h3>
82 <p>The MXBean concept provides a simple way to code an MBean
92 represented as a Standard MBean, and as an MXBean:</p>
96 <th>Standard MBean</th><th>MXBean</th>
107 public interface MemoryPool<b>MXBean</b> {
118 <code><em>Something</em>MXBean</code> for MXBeans, rather than
136 <th>Standard MBean</th><th>MXBean</th>
167 that with the MXBean, <code>MemoryUsage</code> no longer needs to
185 the MXBean framework <em>converts</em> model-specific classes into
198 <th>Standard MBean</th><th>MXBean</th>
222 class <code>MemoryUsage</code>, while the MXBean code requires no
226 MXBean client. But, if the client does in fact know the model,
235 <th>Standard MBean</th><th>MXBean</th>
250 MemoryPool<b>MXBean</b> proxy =
255 MemoryPool<b>MXBean</b>.class);
268 <th>Standard MBean</th><th>MXBean</th>
281 implements MemoryPool<b>MXBean</b> {
295 <th>Standard MBean</th><th>MXBean</th>
307 MemoryPool<b>MXBean</b> pool = new MemoryPool();
316 <h2 id="mxbean-def">Definition of an MXBean</h2>
318 <p>An MXBean is a kind of MBean. An MXBean object can be
332 case applies to a Standard MBean or MXBean created using
338 <li>Otherwise, it may be an MXBean. The set of interfaces
342 <li>have a class name <code><em>S</em>MXBean</code> where
344 do not have an annotation {@code @MXBean(false)}; and/or</li>
345 <li>have an annotation {@code @MXBean(true)}
346 or just {@code @MXBean}.</li>
351 the object is an MXBean. The interface in question is the
352 <em>MXBean interface</em>. In the example above, the MXBean
361 method in an MXBean interface must be <em>convertible</em> using
365 <p>An attempt to construct an MXBean that does not conform to the
372 MXBean as in a Standard MBean:</p>
417 <p>An MXBean is a kind of Open MBean, as defined by the {@link
424 <p>For every Java type <em>J</em>, the MXBean mapping is described
458 parameter or return value in an MXBean interface.</p>
462 <em>reconstructible</em>. All method parameters in an MXBean
463 interface must be reconstructible, because when the MXBean
468 of the methods in the MXBean interface that must be
536 <td>An MXBean interface</td>
660 <h3 id="mxbean-map">Mappings for MXBean interfaces</h3>
662 <p>An MXBean interface, or a type referenced within an MXBean
663 interface, can reference another MXBean interface, <em>J</em>.
667 <p>For example, suppose you have two MXBean interfaces like this:</p>
693 <p>If you make an MXBean proxy for a {@code ModuleMXBean} and
696 another MXBean proxy. More formally, when a proxy made with
701 interfaceY}, another MXBean interface, it does so with {@code
722 expects. This object will be an MXBean proxy for the given
725 <p>If you make an MXBean proxy for a {@code ModuleMXBean} and
739 <p>If the same MXBean were registered under two different
740 {@code ObjectName}s, a reference to that MXBean from another
741 MXBean would be ambiguous. Therefore, if an MXBean object is
752 rules in the table above, the MXBean framework will attempt to map
791 convention. In a Standard MBean or MXBean interface, a method
1010 <p>Recursive (self-referential) types cannot be used in MXBean
1038 <h3>MBeanInfo contents for an MXBean</h3>
1040 <p>An MXBean is a type of Open MBean. However, for compatibility
1054 MBeanInfo#getConstructors()} for an MXBean that is directly
1056 constructors of that MXBean. If the class of the MXBean is not
1058 The list returned for an MXBean that is constructed using the
1060 Standard MBeans. Regardless of how the MXBean was constructed,
1061 its constructor parameters are not subject to MXBean mapping
1065 MBeanInfo#getNotifications()} for an MXBean that is directly
1066 registered in the MBean Server will be empty if the MXBean does
1069 NotificationBroadcaster#getNotificationInfo()} at the time the MXBean
1072 will not. The list returned for an MXBean that is constructed
1086 that appeared in the MXBean interface. The format of this string
1097 return value in an MXBean must be represented as a string. If
1137 can happen when an MXBean interface is being analyzed, for
1141 MXBean or a parameter to a method in an MXBean proxy), for
1148 This can happen when an MXBean interface is being analyzed, for
1153 method in an MXBean or a return value from a method in an MXBean
1172 public @interface MXBean {
1174 True if the annotated interface is an MXBean interface.
1175 @return true if the annotated interface is an MXBean interface.