org.jboss.on.plugins.tomcat.helper
Class EmsUtility
java.lang.Object
org.jboss.on.plugins.tomcat.helper.EmsUtility
public class EmsUtility
- extends Object
- Author:
- Ian Springer
|
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. |
static org.mc4j.ems.connection.bean.operation.EmsOperation |
getOperation(org.mc4j.ems.connection.bean.EmsBean mbean,
String name,
String... parameterTypeNames)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmsUtility
public EmsUtility()
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 proxyname - the name of the operationparameterTypes - 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
getOperation
public static org.mc4j.ems.connection.bean.operation.EmsOperation getOperation(org.mc4j.ems.connection.bean.EmsBean mbean,
String name,
String... parameterTypeNames)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.