Package 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
Modifier and TypeMethodDescriptionImplementation<?>[]Return the client interfaces supported.voiddestroy()Called when an MBean is being destroyed.Get the MBeanInfo based on all the interfaces.Set<NotificationType<?>> Get the Notification Types from all Interfaces.Invoke a method using the arguments as received by an MBean.
-
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
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.
-