| java.lang.Object org.jboss.test.JBossRMIAdaptorHelper
JBossRMIAdaptorHelper | public class JBossRMIAdaptorHelper (Code) | | Helper Class that connects to the RMA Adaptor on any JBoss node
to provide some services like start/stop JBoss services registered
in the MBean server. Uses MBeanServerConnection.
author: Anil.Saldhana@jboss.org version: $Revision: 57211 $ |
Method Summary | |
public MBeanInfo | getMBeanInfo(ObjectName oname) | public Object | invokeOperation(ObjectName oname, String methodname, Object[] pParams, String[] pSignature) Invoke an Operation on the MBean
Parameters: oname - ObjectName of the MBean Parameters: methodname - Name of the operation on the MBean Parameters: pParams - Arguments to the operation Parameters: pSignature - Signature for the operation. |
JBossRMIAdaptorHelper | public JBossRMIAdaptorHelper()(Code) | | Constructor
|
JBossRMIAdaptorHelper | public JBossRMIAdaptorHelper(String jndiurl)(Code) | | Constructor that takes a JNDI url
Parameters: jndiurl - JNDI Url (jnp://localhost:1099) |
JBossRMIAdaptorHelper | public JBossRMIAdaptorHelper(InitialContext ctx)(Code) | | Constructor that takes a JNDI url
Parameters: ctx - InitialContext constructed |
getMBeanInfo | public MBeanInfo getMBeanInfo(ObjectName oname)(Code) | | Get the Metadata for the MBean
Parameters: oname - ObjectName of the MBean MBeanInfo about the MBean |
invokeOperation | public Object invokeOperation(ObjectName oname, String methodname, Object[] pParams, String[] pSignature) throws Exception(Code) | | Invoke an Operation on the MBean
Parameters: oname - ObjectName of the MBean Parameters: methodname - Name of the operation on the MBean Parameters: pParams - Arguments to the operation Parameters: pSignature - Signature for the operation. result from the MBean operation throws: Exception - |
|
|