Lines Matching refs:mbeanInterface

143      * specified <var>mbeanInterface</var> class.
147 * @param mbeanInterface The Management Interface exported by this
159 private <T> void construct(T implementation, Class<T> mbeanInterface,
164 // Have to use (T)this rather than mbeanInterface.cast(this)
165 // because mbeanInterface might be null.
171 if (mbeanInterface == null) {
172 mbeanInterface = Util.cast(Introspector.getMXBeanInterface(
175 this.mbean = new MXBeanSupport(implementation, mbeanInterface);
177 if (mbeanInterface == null) {
178 mbeanInterface = Util.cast(Introspector.getStandardMBeanInterface(
182 new StandardMBeanSupport(implementation, mbeanInterface);
189 * <var>mbeanInterface</var> class.</p>
192 * @param mbeanInterface The Management Interface exported by this
199 * described by {@code mbeanInterface}. The compiler can only
200 * check this if {@code mbeanInterface} is a class literal such
205 * @exception NotCompliantMBeanException if the <var>mbeanInterface</var>
210 public <T> StandardMBean(T implementation, Class<T> mbeanInterface)
212 construct(implementation, mbeanInterface, false, false);
217 * <var>mbeanInterface</var> class.</p>
220 * this(this,mbeanInterface)}.
223 * @param mbeanInterface The Management Interface exported by this
226 * @exception NotCompliantMBeanException if the <var>mbeanInterface</var>
230 protected StandardMBean(Class<?> mbeanInterface)
232 construct(null, mbeanInterface, true, false);
238 * <var>mbeanInterface</var> class, and choosing whether the
245 * @param mbeanInterface The Management Interface exported by this
250 * @param isMXBean If true, the {@code mbeanInterface} parameter
254 * described by {@code mbeanInterface}. The compiler can only
255 * check this if {@code mbeanInterface} is a class literal such
259 * <var>implementation</var> is null, or if the <var>mbeanInterface</var>
266 public <T> StandardMBean(T implementation, Class<T> mbeanInterface,
269 construct(implementation, mbeanInterface, false, isMXBean);
277 * <var>mbeanInterface</var> class, and choosing whether the resulting
284 * this(this, mbeanInterface, isMXBean)}.
287 * @param mbeanInterface The Management Interface exported by this
289 * @param isMXBean If true, the {@code mbeanInterface} parameter
292 * @exception IllegalArgumentException if the <var>mbeanInterface</var>
298 protected StandardMBean(Class<?> mbeanInterface, boolean isMXBean) {
300 construct(null, mbeanInterface, true, isMXBean);