Methods Summary |
---|
public static java.lang.String | getDescription(javax.management.MBeanOperationInfo info)
return( sOperationDelimiter + "\"" + info.getDescription() + "\"" );
|
public static java.lang.String | getImpact(javax.management.MBeanOperationInfo info)
String impactStr = null;
switch( info.getImpact() )
{
default: impactStr = "unknown"; break;
case MBeanOperationInfo.INFO: impactStr = "info"; break;
case MBeanOperationInfo.ACTION: impactStr = "action"; break;
case MBeanOperationInfo.ACTION_INFO: impactStr = "action-info";break;
}
return( impactStr );
|
public static java.lang.String | getSignature(javax.management.MBeanOperationInfo info)
return( getSignature( info, MBeanFeatureInfoStringifierOptions.DEFAULT ) );
|
public static java.lang.String | getSignature(javax.management.MBeanOperationInfo info, MBeanFeatureInfoStringifierOptions options)
return( ParamsToString( info.getSignature(), options ) );
|
public java.lang.String | stringify(java.lang.Object o)
assert( o != null );
final MBeanOperationInfo op = (MBeanOperationInfo)o;
String result = getPresentationTypeString( op.getReturnType() ) + " " + op.getName() + "(";
// create the signature string
result = result + getSignature( op, mOptions ) + ")";
String impactStr = getImpact( op );
result = result + sOperationDelimiter + "impact=" +impactStr;
if ( mOptions.mIncludeDescription )
{
result = result + getDescription( op );
}
return( result );
|