Table of Contents

Class NamingListener

Namespace
Javax.Naming.Event
Assembly
MASES.JNet.dll

Listener for NamingListener. Extends JVMBridgeListener, implements INamingListener

public class NamingListener : EventListener, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IEventListener, INamingListener, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
NamingListener
Implements
Derived
Inherited Members
Extension Methods

Remarks

Remember to Dispose the object otherwise there is a resource leak, the object contains a reference to the the corresponding JVM object

Constructors

NamingListener()

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

public NamingListener()

NamingListener(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 NamingListener(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

Methods

InitializeHandlers()

Handlers initializer for NamingListener

protected virtual void InitializeHandlers()

NamingExceptionThrown(NamingExceptionEvent)

public virtual void NamingExceptionThrown(NamingExceptionEvent arg0)

Parameters

arg0 NamingExceptionEvent

NamingExceptionEvent