Java Code Examples for com.sun.jmx.mbeanserver.Introspector#descriptorForElement()
The following examples show how to use
com.sun.jmx.mbeanserver.Introspector#descriptorForElement() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MBeanOperationInfo.java From jdk8u-dev-jdk with GNU General Public License v2.0 | 3 votes |
/** * Constructs an <CODE>MBeanOperationInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The <CODE>java.lang.reflect.Method</CODE> object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 2
Source File: MBeanOperationInfo.java From Java8CN with Apache License 2.0 | 3 votes |
/** * Constructs an <CODE>MBeanOperationInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The <CODE>java.lang.reflect.Method</CODE> object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 3
Source File: MBeanOperationInfo.java From jdk8u-jdk with GNU General Public License v2.0 | 3 votes |
/** * Constructs an <CODE>MBeanOperationInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The <CODE>java.lang.reflect.Method</CODE> object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 4
Source File: MBeanOperationInfo.java From openjdk-jdk9 with GNU General Public License v2.0 | 3 votes |
/** * Constructs an {@code MBeanOperationInfo} object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The {@code java.lang.reflect.Method} object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 5
Source File: MBeanOperationInfo.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 3 votes |
/** * Constructs an <CODE>MBeanOperationInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The <CODE>java.lang.reflect.Method</CODE> object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 6
Source File: MBeanOperationInfo.java From openjdk-8 with GNU General Public License v2.0 | 3 votes |
/** * Constructs an <CODE>MBeanOperationInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The <CODE>java.lang.reflect.Method</CODE> object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 7
Source File: MBeanOperationInfo.java From hottub with GNU General Public License v2.0 | 3 votes |
/** * Constructs an <CODE>MBeanOperationInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The <CODE>java.lang.reflect.Method</CODE> object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 8
Source File: MBeanOperationInfo.java From openjdk-8-source with GNU General Public License v2.0 | 3 votes |
/** * Constructs an <CODE>MBeanOperationInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The <CODE>java.lang.reflect.Method</CODE> object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 9
Source File: MBeanOperationInfo.java From JDKSourceCode1.8 with MIT License | 3 votes |
/** * Constructs an <CODE>MBeanOperationInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The <CODE>java.lang.reflect.Method</CODE> object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 10
Source File: MBeanOperationInfo.java From jdk8u60 with GNU General Public License v2.0 | 3 votes |
/** * Constructs an <CODE>MBeanOperationInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The <CODE>java.lang.reflect.Method</CODE> object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 11
Source File: MBeanOperationInfo.java From TencentKona-8 with GNU General Public License v2.0 | 3 votes |
/** * Constructs an <CODE>MBeanOperationInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The <CODE>java.lang.reflect.Method</CODE> object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 12
Source File: MBeanOperationInfo.java From dragonwell8_jdk with GNU General Public License v2.0 | 3 votes |
/** * Constructs an <CODE>MBeanOperationInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The <CODE>java.lang.reflect.Method</CODE> object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 13
Source File: MBeanOperationInfo.java From jdk1.8-source-analysis with Apache License 2.0 | 3 votes |
/** * Constructs an <CODE>MBeanOperationInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code Method} * object that contain the {@link DescriptorKey} meta-annotation. * * @param method The <CODE>java.lang.reflect.Method</CODE> object * describing the MBean operation. * @param description A human readable description of the operation. */ public MBeanOperationInfo(String description, Method method) { this(method.getName(), description, methodSignature(method), method.getReturnType().getName(), UNKNOWN, Introspector.descriptorForElement(method)); }
Example 14
Source File: MBeanConstructorInfo.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Constructs an <CODE>MBeanConstructorInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code * Constructor} object that contain the {@link DescriptorKey} * meta-annotation. * * @param description A human readable description of the operation. * @param constructor The <CODE>java.lang.reflect.Constructor</CODE> * object describing the MBean constructor. */ public MBeanConstructorInfo(String description, Constructor<?> constructor) { this(constructor.getName(), description, constructorSignature(constructor), Introspector.descriptorForElement(constructor)); }
Example 15
Source File: MBeanConstructorInfo.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Constructs an <CODE>MBeanConstructorInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code * Constructor} object that contain the {@link DescriptorKey} * meta-annotation. * * @param description A human readable description of the operation. * @param constructor The <CODE>java.lang.reflect.Constructor</CODE> * object describing the MBean constructor. */ public MBeanConstructorInfo(String description, Constructor<?> constructor) { this(constructor.getName(), description, constructorSignature(constructor), Introspector.descriptorForElement(constructor)); }
Example 16
Source File: MBeanConstructorInfo.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Constructs an <CODE>MBeanConstructorInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code * Constructor} object that contain the {@link DescriptorKey} * meta-annotation. * * @param description A human readable description of the operation. * @param constructor The <CODE>java.lang.reflect.Constructor</CODE> * object describing the MBean constructor. */ public MBeanConstructorInfo(String description, Constructor<?> constructor) { this(constructor.getName(), description, constructorSignature(constructor), Introspector.descriptorForElement(constructor)); }
Example 17
Source File: MBeanConstructorInfo.java From dragonwell8_jdk with GNU General Public License v2.0 | 2 votes |
/** * Constructs an <CODE>MBeanConstructorInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code * Constructor} object that contain the {@link DescriptorKey} * meta-annotation. * * @param description A human readable description of the operation. * @param constructor The <CODE>java.lang.reflect.Constructor</CODE> * object describing the MBean constructor. */ public MBeanConstructorInfo(String description, Constructor<?> constructor) { this(constructor.getName(), description, constructorSignature(constructor), Introspector.descriptorForElement(constructor)); }
Example 18
Source File: MBeanConstructorInfo.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Constructs an {@code MBeanConstructorInfo} object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code * Constructor} object that contain the {@link DescriptorKey} * meta-annotation. * * @param description A human readable description of the operation. * @param constructor The {@code java.lang.reflect.Constructor} * object describing the MBean constructor. */ public MBeanConstructorInfo(String description, Constructor<?> constructor) { this(constructor.getName(), description, constructorSignature(constructor), Introspector.descriptorForElement(constructor)); }
Example 19
Source File: MBeanConstructorInfo.java From jdk8u-jdk with GNU General Public License v2.0 | 2 votes |
/** * Constructs an <CODE>MBeanConstructorInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code * Constructor} object that contain the {@link DescriptorKey} * meta-annotation. * * @param description A human readable description of the operation. * @param constructor The <CODE>java.lang.reflect.Constructor</CODE> * object describing the MBean constructor. */ public MBeanConstructorInfo(String description, Constructor<?> constructor) { this(constructor.getName(), description, constructorSignature(constructor), Introspector.descriptorForElement(constructor)); }
Example 20
Source File: MBeanConstructorInfo.java From Java8CN with Apache License 2.0 | 2 votes |
/** * Constructs an <CODE>MBeanConstructorInfo</CODE> object. The * {@link Descriptor} of the constructed object will include * fields contributed by any annotations on the {@code * Constructor} object that contain the {@link DescriptorKey} * meta-annotation. * * @param description A human readable description of the operation. * @param constructor The <CODE>java.lang.reflect.Constructor</CODE> * object describing the MBean constructor. */ public MBeanConstructorInfo(String description, Constructor<?> constructor) { this(constructor.getName(), description, constructorSignature(constructor), Introspector.descriptorForElement(constructor)); }