com.sun.jaw.reference.common
Interface MBeanAction


public abstract interface MBeanAction
extends java.io.Serializable

A MBeanAction describes a particular action that an m-bean supports for external access from other components.


Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 java.lang.String getName()
          Gets the name of the action.
 java.lang.Class[] getParameters()
          Gets the formal parameter types of the action.
 java.lang.String[] getSignature()
          Gets the signature of the actions.
 java.lang.Class getType()
          Gets the formal return type of the action.
 

Method Detail

getName

public java.lang.String getName()
Gets the name of the action.
Returns:
The action name.

getParameters

public java.lang.Class[] getParameters()
Gets the formal parameter types of the action.

All primitive parameter types (int, long etc.) are converted to their corresponding native types (java.lang.Integer, java.lang.Long etc.).

Returns:
An array of Class objects that represent the formal parameter types, in declaration order. Returns an array of length 0 if the action takes no parameters.

getType

public java.lang.Class getType()
Gets the formal return type of the action.

Primitive return types (int, long etc.) are converted to their corresponding native types (java.lang.Integer, java.lang.Long etc.). The return type void is "nulled" out.

Returns:
The Class object that represents the formal return type or "null" if the formal return type is void.

getSignature

public java.lang.String[] getSignature()
Gets the signature of the actions.
Returns:
An array containing the signature of the action.