Save This Page
Home » openjdk-7 » java » beans » [javadoc | source]
java.beans
public class: MethodDescriptor [javadoc | source]
java.lang.Object
   java.beans.FeatureDescriptor
      java.beans.MethodDescriptor
A MethodDescriptor describes a particular method that a Java Bean supports for external access from other components.
Constructor:
 public MethodDescriptor(Method method) 
    Constructs a MethodDescriptor from a Method.
    Parameters:
    method - The low-level method information.
 MethodDescriptor(MethodDescriptor old) 
 public MethodDescriptor(Method method,
    ParameterDescriptor[] parameterDescriptors) 
    Constructs a MethodDescriptor from a Method providing descriptive information for each of the method's parameters.
    Parameters:
    method - The low-level method information.
    parameterDescriptors - Descriptive information for each of the method's parameters.
 MethodDescriptor(MethodDescriptor x,
    MethodDescriptor y) 
Method from java.beans.MethodDescriptor Summary:
getMethod,   getParamNames,   getParameterDescriptors
Methods from java.beans.FeatureDescriptor:
attributeNames,   getClass0,   getDisplayName,   getName,   getParameterTypes,   getReturnType,   getShortDescription,   getSoftReference,   getValue,   getWeakReference,   isExpert,   isHidden,   isPreferred,   isTransient,   setClass0,   setDisplayName,   setExpert,   setHidden,   setName,   setPreferred,   setShortDescription,   setTransient,   setValue
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.beans.MethodDescriptor Detail:
 public synchronized Method getMethod() 
    Gets the method that this MethodDescriptor encapsualtes.
 String[] getParamNames() 
 public ParameterDescriptor[] getParameterDescriptors() 
    Gets the ParameterDescriptor for each of this MethodDescriptor's method's parameters.