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()
ServerInterfaceManager
allClientInfo
in interface ServerInterfaceManager
public javax.management.MBeanInfo getMBeanInfo()
ServerInterfaceManager
getMBeanInfo
in interface ServerInterfaceManager
public java.util.Set<NotificationType<?>> getNotificationTypes()
ServerInterfaceManager
getNotificationTypes
in interface ServerInterfaceManager
public java.lang.Object invoke(java.lang.String actionName, java.lang.Object[] params, java.lang.String[] signature) throws javax.management.MBeanException, javax.management.ReflectionException
ServerInterfaceManager
invoke
in interface ServerInterfaceManager
actionName
- The action (method) name.params
- An array of object that are the parameters.signature
- An array of Strings that are class names.javax.management.MBeanException
javax.management.ReflectionException
public void destroy()
ServerInterfaceManager
destroy
in interface ServerInterfaceManager