| java.lang.Object com.sun.jbi.ui.client.AbstractJMXClient
AbstractJMXClient | abstract public class AbstractJMXClient (Code) | | This class is a abstract base class for jmx client implementations.
author: Sun Microsystems, Inc. |
Method Summary | |
protected void | closeJmxConnection() | public ObjectName | getAdminServiceMBeanObjectName() | protected static I18NBundle | getI18NBundle() | protected JMXConnection | getJMXConnection() returns jmx connection object. | public ObjectName | getJbiAdminUiMBeanObjectName() returns ui mbean jmx object name. | public Object | getMBeanAttribute(ObjectName objectName, String attributeName) open connection, invokes the operation on mbean and closes connection. | public Object | invokeMBeanOperation(ObjectName objectName, String operationName, Object[] params, String[] signature) open connection, invokes the operation on mbean and closes connection. | public Object | invokeMBeanOperation(ObjectName objectName, String operationName, String param) single param opeartion invocation. | public Object | invokeMBeanOperation(ObjectName objectName, String operationName, String param1, String param2) single param opeartion invocation. | public Object | invokeMBeanOperation(ObjectName objectName, String operationName, String param1, String param2, String param3) single param opeartion invocation. | public Object | invokeMBeanOperation(ObjectName objectName, String operationName, String param1, String param2, String param3, String param4) single param opeartion invocation. | protected void | openJmxConnection() | protected void | setJMXConnection(JMXConnection jmxConn) sets the jmx connection object. |
AbstractJMXClient | protected AbstractJMXClient()(Code) | | constructor
|
getI18NBundle | protected static I18NBundle getI18NBundle()(Code) | | gives the I18N bundle
I18NBundle object |
getJMXConnection | protected JMXConnection getJMXConnection()(Code) | | returns jmx connection object.
jmx connection object. |
getMBeanAttribute | public Object getMBeanAttribute(ObjectName objectName, String attributeName) throws JBIRemoteException(Code) | | open connection, invokes the operation on mbean and closes connection.
This should not be used if the connection is already opened or not to be close
after the invoke operation.
result object Parameters: objectName - object name Parameters: attributeName - attribute name throws: JBIRemoteException - on error |
invokeMBeanOperation | public Object invokeMBeanOperation(ObjectName objectName, String operationName, Object[] params, String[] signature) throws JBIRemoteException(Code) | | open connection, invokes the operation on mbean and closes connection.
This should not be used if the connection is already opened or not to be close
after the invoke operation.
result object Parameters: objectName - object name Parameters: operationName - operation name Parameters: params - parameters Parameters: signature - signature of the parameters throws: JBIRemoteException - on error |
invokeMBeanOperation | public Object invokeMBeanOperation(ObjectName objectName, String operationName, String param) throws JBIRemoteException(Code) | | single param opeartion invocation.
This should not be used if the connection is already opened or not to be close
after the invoke operation.
result object Parameters: objectName - object name Parameters: operationName - operation name Parameters: param - String parameter throws: JBIRemoteException - on error |
invokeMBeanOperation | public Object invokeMBeanOperation(ObjectName objectName, String operationName, String param1, String param2) throws JBIRemoteException(Code) | | single param opeartion invocation.
This should not be used if the connection is already opened or not to be close
after the invoke operation.
result object Parameters: objectName - object name Parameters: operationName - operation name Parameters: param1 - String parameter Parameters: param2 - String parameter throws: JBIRemoteException - on error |
invokeMBeanOperation | public Object invokeMBeanOperation(ObjectName objectName, String operationName, String param1, String param2, String param3) throws JBIRemoteException(Code) | | single param opeartion invocation.
This should not be used if the connection is already opened or not to be close
after the invoke operation.
result object Parameters: objectName - object name Parameters: operationName - operation name Parameters: param1 - String parameter Parameters: param2 - String parameter Parameters: param3 - String parameter throws: JBIRemoteException - on error |
invokeMBeanOperation | public Object invokeMBeanOperation(ObjectName objectName, String operationName, String param1, String param2, String param3, String param4) throws JBIRemoteException(Code) | | single param opeartion invocation.
This should not be used if the connection is already opened or not to be close
after the invoke operation.
result object Parameters: param4 - String parameter. Parameters: objectName - object name Parameters: operationName - operation name Parameters: param1 - String parameter Parameters: param2 - String parameter Parameters: param3 - String parameter throws: JBIRemoteException - on error |
setJMXConnection | protected void setJMXConnection(JMXConnection jmxConn)(Code) | | sets the jmx connection object.
Parameters: jmxConn - jmx connection object. |
|
|