Package org.apache.tomcat.util.modeler
Class OperationInfo
java.lang.Object
org.apache.tomcat.util.modeler.FeatureInfo
org.apache.tomcat.util.modeler.OperationInfo
- All Implemented Interfaces:
- Serializable
Internal configuration information for an Operation
 descriptor.
- Author:
- Craig R. McClanahan
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected Stringprotected ParameterInfo[]protected final ReadWriteLockprotected StringFields inherited from class org.apache.tomcat.util.modeler.FeatureInfodescription, info, name, type
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddParameter(ParameterInfo parameter) Add a new parameter to the set of arguments for this operation.protected MBeanParameterInfo[]getRole()voidvoidsetReturnType(String returnType) voidMethods inherited from class org.apache.tomcat.util.modeler.FeatureInfogetDescription, getName, getType, setDescription, setName, setType
- 
Field Details- 
impact
- 
role
- 
parametersLock
- 
parameters
 
- 
- 
Constructor Details- 
OperationInfopublic OperationInfo()Standard zero-arguments constructor.
 
- 
- 
Method Details- 
getImpact- Returns:
- the "impact" of this operation, which should be a (case-insensitive) string value "ACTION", "ACTION_INFO", "INFO", or "UNKNOWN".
 
- 
setImpact
- 
getRole- Returns:
- the role of this operation ("getter", "setter", "operation", or "constructor").
 
- 
setRole
- 
getReturnType- Returns:
- the fully qualified Java class name of the return type for this operation.
 
- 
setReturnType
- 
getSignature- Returns:
- the set of parameters for this operation.
 
- 
addParameterAdd a new parameter to the set of arguments for this operation.- Parameters:
- parameter- The new parameter descriptor
 
- 
getMBeanParameterInfo
 
-