|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.test.JBossRMIAdaptorHelper
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.
Field Summary | |
protected Logger (src) |
log
|
protected MBeanServerConnection (src) |
rmiserver
|
Constructor Summary | |
JBossRMIAdaptorHelper()
Constructor |
|
JBossRMIAdaptorHelper(javax.naming.InitialContext ctx)
Constructor that takes a JNDI url |
|
JBossRMIAdaptorHelper(java.lang.String jndiurl)
Constructor that takes a JNDI url |
Method Summary | |
MBeanInfo (src) |
getMBeanInfo(ObjectName (src) oname)
Get the Metadata for the MBean |
java.lang.Object |
invokeOperation(ObjectName (src) oname,
java.lang.String methodname,
java.lang.Object[] pParams,
java.lang.String[] pSignature)
Invoke an Operation on the MBean |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected MBeanServerConnection (src) rmiserver
protected Logger (src) log
Constructor Detail |
public JBossRMIAdaptorHelper()
public JBossRMIAdaptorHelper(java.lang.String jndiurl)
jndiurl
- JNDI Url (jnp://localhost:1099)public JBossRMIAdaptorHelper(javax.naming.InitialContext ctx)
ctx
- InitialContext constructedMethod Detail |
public MBeanInfo (src) getMBeanInfo(ObjectName (src) oname)
oname
- ObjectName of the MBean
public java.lang.Object invokeOperation(ObjectName (src) oname, java.lang.String methodname, java.lang.Object[] pParams, java.lang.String[] pSignature) throws java.lang.Exception
oname
- ObjectName of the MBeanmethodname
- Name of the operation on the MBeanpParams
- Arguments to the operationpSignature
- Signature for the operation.
java.lang.Exception
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |