Table of Contents

Class NamespaceChangeListener

Namespace
Javax.Naming.Event
Assembly
MASES.JNet.dll
public class NamespaceChangeListener : JVMBridgeListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, INamespaceChangeListener
Inheritance
NamespaceChangeListener
Implements
Derived
Inherited Members
Extension Methods

Constructors

NamespaceChangeListener()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public NamespaceChangeListener()

NamespaceChangeListener(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 NamespaceChangeListener(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

OnNamingExceptionThrown

public Action<NamingExceptionEvent> OnNamingExceptionThrown { get; set; }

Property Value

Action<NamingExceptionEvent>

Remarks

If OnNamingExceptionThrown has a value it takes precedence over corresponding class method

OnObjectAdded

public Action<NamingEvent> OnObjectAdded { get; set; }

Property Value

Action<NamingEvent>

Remarks

If OnObjectAdded has a value it takes precedence over corresponding class method

OnObjectRemoved

public Action<NamingEvent> OnObjectRemoved { get; set; }

Property Value

Action<NamingEvent>

Remarks

If OnObjectRemoved has a value it takes precedence over corresponding class method

OnObjectRenamed

public Action<NamingEvent> OnObjectRenamed { get; set; }

Property Value

Action<NamingEvent>

Remarks

If OnObjectRenamed has a value it takes precedence over corresponding class method

Methods

InitializeHandlers()

Handlers initializer for NamespaceChangeListener

protected virtual void InitializeHandlers()

NamingExceptionThrown(NamingExceptionEvent)

public virtual void NamingExceptionThrown(NamingExceptionEvent arg0)

Parameters

arg0 NamingExceptionEvent

NamingExceptionEvent

ObjectAdded(NamingEvent)

public virtual void ObjectAdded(NamingEvent arg0)

Parameters

arg0 NamingEvent

NamingEvent

ObjectRemoved(NamingEvent)

public virtual void ObjectRemoved(NamingEvent arg0)

Parameters

arg0 NamingEvent

NamingEvent

ObjectRenamed(NamingEvent)

public virtual void ObjectRenamed(NamingEvent arg0)

Parameters

arg0 NamingEvent

NamingEvent