Class NotificationListener
- Namespace
- Javax.Management
- Assembly
- MASES.JNet.dll
Implementation of INotificationListener
public class NotificationListener : EventListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IEventListener, INotificationListener, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
NotificationListener
- Implements
- Derived
- Inherited Members
-
JVMBridgeBase.ReferenceEqualsJVM(JVMBridgeBase, JVMBridgeBase)JVMBridgeBase.Equals(IJVMBridgeBase)
- Extension Methods
Constructors
NotificationListener()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public NotificationListener()
NotificationListener(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public NotificationListener(params object[] args)
Parameters
argsobject[]
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
OnHandleNotification
public Action<Notification, object> OnHandleNotification { get; set; }
Property Value
Remarks
If OnHandleNotification has a value it takes precedence over corresponding class method
Methods
HandleNotification(Notification, object)
public virtual void HandleNotification(Notification arg0, object arg1)
Parameters
arg0Notificationarg1object
InitializeHandlers()
Handlers initializer for NotificationListener
protected virtual void InitializeHandlers()