org.rhq.plugins.jbossas.util
Class EmsUtility

java.lang.Object
  extended by org.rhq.plugins.jbossas.util.EmsUtility

public class EmsUtility
extends Object

Author:
Ian Springer

Constructor Summary
EmsUtility()
           
 
Method Summary
static org.mc4j.ems.connection.bean.operation.EmsOperation getOperation(org.mc4j.ems.connection.bean.EmsBean mbean, String name, Class... parameterTypes)
          Retrieves an MBean operation from an EMS MBean proxy which matches the specified name and parameter types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmsUtility

public EmsUtility()
Method Detail

getOperation

public static org.mc4j.ems.connection.bean.operation.EmsOperation getOperation(org.mc4j.ems.connection.bean.EmsBean mbean,
                                                                               String name,
                                                                               Class... parameterTypes)
                                                                        throws NoSuchMethodException
Retrieves an MBean operation from an EMS MBean proxy which matches the specified name and parameter types. The method is modeled after Class.getMethod(String, Class[]).

Parameters:
mbean - an EMS MBean proxy
name - the name of the operation
parameterTypes - the list of parameter types
Returns:
the EmsOperation object that matches the specified name and parameterTypes
Throws:
NoSuchMethodException - if a matching operation is not found


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.