public class ServerInterfaceManagerImpl extends java.lang.Object implements ServerInterfaceManager
| Constructor and Description |
|---|
ServerInterfaceManagerImpl(java.lang.Object target,
ServerSideToolkit ojmb,
ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories) |
ServerInterfaceManagerImpl(java.lang.Object target,
ServerSideToolkit ojmb,
ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories,
OddjobJMXAccessController accessController)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Implementation<?>[] |
allClientInfo()
Return the client interfaces supported.
|
void |
destroy()
Called when an MBean is being destroyed.
|
javax.management.MBeanInfo |
getMBeanInfo()
Get the MBeanInfo based on all the interfaces.
|
java.util.Set<NotificationType<?>> |
getNotificationTypes()
Get the Notification Types from all Interfaces.
|
java.lang.Object |
invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature)
Invoke a method using the arguments as received by an MBean.
|
public ServerInterfaceManagerImpl(java.lang.Object target,
ServerSideToolkit ojmb,
ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories)
public ServerInterfaceManagerImpl(java.lang.Object target,
ServerSideToolkit ojmb,
ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories,
OddjobJMXAccessController accessController)
target - The target object the OddjobMBean is representing.ojmb - The OddjobMBean.serverHandlerFactories - The InterfaceInfos.public Implementation<?>[] allClientInfo()
ServerInterfaceManagerallClientInfo in interface ServerInterfaceManagerpublic javax.management.MBeanInfo getMBeanInfo()
ServerInterfaceManagergetMBeanInfo in interface ServerInterfaceManagerpublic java.util.Set<NotificationType<?>> getNotificationTypes()
ServerInterfaceManagergetNotificationTypes in interface ServerInterfaceManagerpublic java.lang.Object invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature)
throws javax.management.MBeanException,
javax.management.ReflectionException
ServerInterfaceManagerinvoke in interface ServerInterfaceManageractionName - The action (method) name.params - An array of object that are the parameters.signature - An array of Strings that are class names.javax.management.MBeanExceptionjavax.management.ReflectionExceptionpublic void destroy()
ServerInterfaceManagerdestroy in interface ServerInterfaceManager