Table of Contents

Class InitialContext

Namespace
Javax.Naming
Assembly
MASES.JNet.dll
public class InitialContext : Context, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IContext
Inheritance
JVMBridgeBase
JVMBridgeBase<Context>
InitialContext
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Derived
Inherited Members
JVMBridgeBase<Context>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Context>.IsAssignableFrom<T>()
JVMBridgeBase<Context>.Execute<T>(params T[])
JVMBridgeBase<Context>.DynBridgeClazz
JVMBridgeBase<Context>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

InitialContext()

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

public InitialContext()

InitialContext(Hashtable<object, object>)

public InitialContext(Hashtable<object, object> arg0)

Parameters

arg0 Hashtable<object, object>

Hashtable

Exceptions

NamingException

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

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Environment

public Hashtable<object, object> Environment { get; }

Property Value

Hashtable<object, object>

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

NameInNamespace

public String NameInNamespace { get; }

Property Value

String

Methods

AddToEnvironment(String, object)

public object AddToEnvironment(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

Returns

object

object

Exceptions

NamingException

Bind(String, object)

public void Bind(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

Exceptions

NamingException

Bind(Name, object)

public void Bind(Name arg0, object arg1)

Parameters

arg0 Name

Name

arg1 object

object

Exceptions

NamingException

Close()

public void Close()

Exceptions

NamingException

ComposeName(String, String)

public String ComposeName(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Returns

String

String

Exceptions

NamingException

ComposeName(Name, Name)

public Name ComposeName(Name arg0, Name arg1)

Parameters

arg0 Name

Name

arg1 Name

Name

Returns

Name

Name

Exceptions

NamingException

CreateSubcontext(String)

public Context CreateSubcontext(String arg0)

Parameters

arg0 String

String

Returns

Context

Context

Exceptions

NamingException

CreateSubcontext(Name)

public Context CreateSubcontext(Name arg0)

Parameters

arg0 Name

Name

Returns

Context

Context

Exceptions

NamingException

DestroySubcontext(String)

public void DestroySubcontext(String arg0)

Parameters

arg0 String

String

Exceptions

NamingException

DestroySubcontext(Name)

public void DestroySubcontext(Name arg0)

Parameters

arg0 Name

Name

Exceptions

NamingException

DoLookup<T>(String)

public static T DoLookup<T>(String arg0)

Parameters

arg0 String

String

Returns

T

T

Type Parameters

T

Exceptions

NamingException

DoLookup<T>(Name)

public static T DoLookup<T>(Name arg0)

Parameters

arg0 Name

Name

Returns

T

T

Type Parameters

T

Exceptions

NamingException

GetNameParser(String)

public NameParser GetNameParser(String arg0)

Parameters

arg0 String

String

Returns

NameParser

NameParser

Exceptions

NamingException

GetNameParser(Name)

public NameParser GetNameParser(Name arg0)

Parameters

arg0 Name

Name

Returns

NameParser

NameParser

Exceptions

NamingException

List(String)

public NamingEnumeration<NameClassPair> List(String arg0)

Parameters

arg0 String

String

Returns

NamingEnumeration<NameClassPair>

NamingEnumeration

Exceptions

NamingException

List(Name)

public NamingEnumeration<NameClassPair> List(Name arg0)

Parameters

arg0 Name

Name

Returns

NamingEnumeration<NameClassPair>

NamingEnumeration

Exceptions

NamingException

ListBindings(String)

public NamingEnumeration<Binding> ListBindings(String arg0)

Parameters

arg0 String

String

Returns

NamingEnumeration<Binding>

NamingEnumeration

Exceptions

NamingException

ListBindings(Name)

public NamingEnumeration<Binding> ListBindings(Name arg0)

Parameters

arg0 Name

Name

Returns

NamingEnumeration<Binding>

NamingEnumeration

Exceptions

NamingException

Lookup(String)

public object Lookup(String arg0)

Parameters

arg0 String

String

Returns

object

object

Exceptions

NamingException

Lookup(Name)

public object Lookup(Name arg0)

Parameters

arg0 Name

Name

Returns

object

object

Exceptions

NamingException
public object LookupLink(String arg0)

Parameters

arg0 String

String

Returns

object

object

Exceptions

NamingException
public object LookupLink(Name arg0)

Parameters

arg0 Name

Name

Returns

object

object

Exceptions

NamingException

Rebind(String, object)

public void Rebind(String arg0, object arg1)

Parameters

arg0 String

String

arg1 object

object

Exceptions

NamingException

Rebind(Name, object)

public void Rebind(Name arg0, object arg1)

Parameters

arg0 Name

Name

arg1 object

object

Exceptions

NamingException

RemoveFromEnvironment(String)

public object RemoveFromEnvironment(String arg0)

Parameters

arg0 String

String

Returns

object

object

Exceptions

NamingException

Rename(String, String)

public void Rename(String arg0, String arg1)

Parameters

arg0 String

String

arg1 String

String

Exceptions

NamingException

Rename(Name, Name)

public void Rename(Name arg0, Name arg1)

Parameters

arg0 Name

Name

arg1 Name

Name

Exceptions

NamingException

Unbind(String)

public void Unbind(String arg0)

Parameters

arg0 String

String

Exceptions

NamingException

Unbind(Name)

public void Unbind(Name arg0)

Parameters

arg0 Name

Name

Exceptions

NamingException