org.ow2.util.jmx.api
Interface IMBeanOperation


public interface IMBeanOperation

Implementations of this interface can be added dynamically as operations in a BaseModelMBeanExt.

Author:
missonng

Method Summary
 MBeanOperationInfo getMBeanOperationInfo()
          Get the MBeanOperationInfo describing this operation.
 Object invoke(String id, Object[] args)
          Invoke the operation for this BaseModelMBeanExt id.
 

Method Detail

getMBeanOperationInfo

MBeanOperationInfo getMBeanOperationInfo()
Get the MBeanOperationInfo describing this operation.

Returns:
The MBeanOperationInfo describing this operation.

invoke

Object invoke(String id,
              Object[] args)
Invoke the operation for this BaseModelMBeanExt id.

Parameters:
id - The BaseModelMBeanExt id.
args - The arguments of this operation.
Returns:
The result of the invocation.


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.