mx4j.tools.adaptor.rmi

Class RMIAdaptorMBeanDescription

Implemented Interfaces:
MBeanDescription
Known Direct Subclasses:
IIOPAdaptorMBeanDescription, JRMPAdaptorMBeanDescription

public class RMIAdaptorMBeanDescription
extends MBeanDescriptionAdapter

Management interface descriptions for the RMIAdaptor MBean.

Version:
$Revision: 1.3 $

Method Summary

String
getAttributeDescription(String attribute)
Should return the description for the specified attribute.
String
getOperationDescription(Method operation)
Should return the description for the specified operation.
String
getOperationParameterDescription(Method method, int index)
Should return the description for the operations's parameter for the given operation and parameter index.
String
getOperationParameterName(Method method, int index)
Should return the name of the operation's parameter for the given operation and parameter index.

Methods inherited from class mx4j.MBeanDescriptionAdapter

getAttributeDescription, getConstructorDescription, getConstructorParameterDescription, getConstructorParameterName, getMBeanDescription, getOperationDescription, getOperationParameterDescription, getOperationParameterName

Method Details

getAttributeDescription

public String getAttributeDescription(String attribute)
Should return the description for the specified attribute. For example: "The port on which the rmiregistry will wait on for client requests"
Specified by:
getAttributeDescription in interface MBeanDescription
Overrides:
getAttributeDescription in interface MBeanDescriptionAdapter


getOperationDescription

public String getOperationDescription(Method operation)
Should return the description for the specified operation. For example: "Binds the given object to the given name"
Specified by:
getOperationDescription in interface MBeanDescription
Overrides:
getOperationDescription in interface MBeanDescriptionAdapter


getOperationParameterDescription

public String getOperationParameterDescription(Method method,
                                               int index)
Should return the description for the operations's parameter for the given operation and parameter index. For example: "The name to which the object will be bound to"
Specified by:
getOperationParameterDescription in interface MBeanDescription
Overrides:
getOperationParameterDescription in interface MBeanDescriptionAdapter


getOperationParameterName

public String getOperationParameterName(Method method,
                                        int index)
Should return the name of the operation's parameter for the given operation and parameter index. For example: "bindName"
Specified by:
getOperationParameterName in interface MBeanDescription
Overrides:
getOperationParameterName in interface MBeanDescriptionAdapter


Copyright © 2001-2003 MX4J Team. All Rights Reserved.