Home » apache-tomcat-6.0.26-src » org.apache » tomcat » util » modeler » [javadoc | source]
org.apache.tomcat.util.modeler
public class: OperationInfo [javadoc | source]
java.lang.Object
   org.apache.tomcat.util.modeler.FeatureInfo
      org.apache.tomcat.util.modeler.OperationInfo

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    ConstructorInfo

Internal configuration information for an Operation descriptor.

Field Summary
static final  long serialVersionUID     
protected  String impact     
protected  String role     
protected  ParameterInfo[] parameters     
Fields inherited from org.apache.tomcat.util.modeler.FeatureInfo:
serialVersionUID,  description,  name,  info,  type
Constructor:
 public OperationInfo() 
Method from org.apache.tomcat.util.modeler.OperationInfo Summary:
addParameter,   createOperationInfo,   getImpact,   getMBeanParameterInfo,   getReturnType,   getRole,   getSignature,   setImpact,   setReturnType,   setRole
Methods from org.apache.tomcat.util.modeler.FeatureInfo:
getDescription,   getName,   getType,   setDescription,   setName,   setType
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tomcat.util.modeler.OperationInfo Detail:
 public  void addParameter(ParameterInfo parameter) 
    Add a new parameter to the set of arguments for this operation.
 MBeanOperationInfo createOperationInfo() 
    Create and return a ModelMBeanOperationInfo object that corresponds to the attribute described by this instance.
 public String getImpact() 
    The "impact" of this operation, which should be a (case-insensitive) string value "ACTION", "ACTION_INFO", "INFO", or "UNKNOWN".
 protected MBeanParameterInfo[] getMBeanParameterInfo() 
 public String getReturnType() 
    The fully qualified Java class name of the return type for this operation.
 public String getRole() 
    The role of this operation ("getter", "setter", "operation", or "constructor").
 public ParameterInfo[] getSignature() 
    The set of parameters for this operation.
 public  void setImpact(String impact) 
 public  void setReturnType(String returnType) 
 public  void setRole(String role)