Interface ServerInterfaceManager

All Known Implementing Classes:
ServerInterfaceManagerImpl

public interface ServerInterfaceManager
An InterfaceManager collects together the interfaces to be exposed by a component.
  • Method Details

    • allClientInfo

      Implementation<?>[] allClientInfo()
      Return the client interfaces supported.
      Returns:
      The interfaces.
    • getMBeanInfo

      MBeanInfo getMBeanInfo()
      Get the MBeanInfo based on all the interfaces.
      Returns:
    • getNotificationTypes

      Set<NotificationType<?>> getNotificationTypes()
      Get the Notification Types from all Interfaces.
      Returns:
      A Set of Types. Might be empty, but never null.
    • invoke

      Object invoke(String actionName, Object[] params, String[] signature) throws RemoteException
      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:
      RemoteException - If something goes wrong.
    • destroy

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