org.oddjob.jmx.server
Interface ServerInterfaceManager

All Known Implementing Classes:
ServerInterfaceManagerImpl

public interface ServerInterfaceManager

An InterfaceManager collects together the interfaces to be exposed by a component.


Method Summary
 ClientHandlerResolver<?>[] allClientInfo()
          Return the interface supported.
 void destroy()
          Called when an MBean is being destroyed.
 MBeanInfo getMBeanInfo()
          Get the MBeanInfo based on all the interfaces.
 Object invoke(String actionName, Object[] params, String[] signature)
          Invoke a method using the arguments as received by an MBean.
 

Method Detail

allClientInfo

ClientHandlerResolver<?>[] allClientInfo()
Return the interface supported.

Returns:
The interfaces.

getMBeanInfo

MBeanInfo getMBeanInfo()
Get the MBeanInfo based on all the interfaces.

Returns:

invoke

Object invoke(String actionName,
              Object[] params,
              String[] signature)
              throws MBeanException,
                     ReflectionException
Invoke a method using the arguments as received by an MBean.

Parameters:
actionName - The action (method) name.
params - An array of object that are the parameters.
signature - An array of Strings that are class names.
Returns:
The result of the method call.
Throws:
MBeanException
ReflectionException

destroy

void destroy()
Called when an MBean is being destroyed. Used to InterfaceHandlers a chance to remove listeners.