mx4j.adaptor.rmi
Class RMIAdaptorMBeanDescription

java.lang.Object
  |
  +--mx4j.MBeanDescriptionAdapter
        |
        +--mx4j.adaptor.rmi.RMIAdaptorMBeanDescription
All Implemented Interfaces:
MBeanDescription
Direct Known Subclasses:
IIOPAdaptorMBeanDescription, JRMPAdaptorMBeanDescription

public class RMIAdaptorMBeanDescription
extends MBeanDescriptionAdapter

MBean description. * @author Simone Bordet

Version:
$Revision: 1.14 $

Constructor Summary
RMIAdaptorMBeanDescription()
           
 
Method Summary
 java.lang.String getAttributeDescription(java.lang.String attribute)
          Should return the description for the specified attribute.
 java.lang.String getConstructorDescription(java.lang.reflect.Constructor ctor)
          Should return the description for the given constructor of the MBean.
 java.lang.String getConstructorParameterDescription(java.lang.reflect.Constructor ctor, int index)
          Should return the description for the constructor's parameter for the given constructor and parameter index.
 java.lang.String getConstructorParameterName(java.lang.reflect.Constructor ctor, int index)
          Should return the name of the constructor's parameter for the given constructor and parameter index.
 java.lang.String getOperationDescription(java.lang.reflect.Method operation)
          Should return the description for the specified operation.
 java.lang.String getOperationParameterDescription(java.lang.reflect.Method method, int index)
          Should return the description for the operations's parameter for the given operation and parameter index.
 java.lang.String getOperationParameterName(java.lang.reflect.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
getMBeanDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RMIAdaptorMBeanDescription

public RMIAdaptorMBeanDescription()
Method Detail

getConstructorDescription

public java.lang.String getConstructorDescription(java.lang.reflect.Constructor ctor)
Description copied from interface: MBeanDescription
Should return the description for the given constructor of the MBean. For example: "Creates an rmiregistry instance on the specified port"
Overrides:
getConstructorDescription in class MBeanDescriptionAdapter

getConstructorParameterName

public java.lang.String getConstructorParameterName(java.lang.reflect.Constructor ctor,
                                                    int index)
Description copied from interface: MBeanDescription
Should return the name of the constructor's parameter for the given constructor and parameter index. For example: "port"
Overrides:
getConstructorParameterName in class MBeanDescriptionAdapter

getConstructorParameterDescription

public java.lang.String getConstructorParameterDescription(java.lang.reflect.Constructor ctor,
                                                           int index)
Description copied from interface: MBeanDescription
Should return the description for the constructor's parameter for the given constructor and parameter index. For example: "The port on which the rmiregistry will wait on for client requests"
Overrides:
getConstructorParameterDescription in class MBeanDescriptionAdapter

getAttributeDescription

public java.lang.String getAttributeDescription(java.lang.String attribute)
Description copied from interface: MBeanDescription
Should return the description for the specified attribute. For example: "The port on which the rmiregistry will wait on for client requests"
Overrides:
getAttributeDescription in class MBeanDescriptionAdapter

getOperationDescription

public java.lang.String getOperationDescription(java.lang.reflect.Method operation)
Description copied from interface: MBeanDescription
Should return the description for the specified operation. For example: "Binds the given object to the given name"
Overrides:
getOperationDescription in class MBeanDescriptionAdapter

getOperationParameterName

public java.lang.String getOperationParameterName(java.lang.reflect.Method method,
                                                  int index)
Description copied from interface: MBeanDescription
Should return the name of the operation's parameter for the given operation and parameter index. For example: "bindName"
Overrides:
getOperationParameterName in class MBeanDescriptionAdapter

getOperationParameterDescription

public java.lang.String getOperationParameterDescription(java.lang.reflect.Method method,
                                                         int index)
Description copied from interface: MBeanDescription
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"
Overrides:
getOperationParameterDescription in class MBeanDescriptionAdapter


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