Table of Contents

Class Context

Namespace
Javax.Naming
Assembly
MASES.JNet.dll
public class Context : JVMBridgeBase<Context>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IContext
Inheritance
JVMBridgeBase
JVMBridgeBase<Context>
Context
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

Context()

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

[Obsolete("Context class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Context()

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

[Obsolete("Context class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Context(params object[] args)

Parameters

args object[]

Properties

AUTHORITATIVE

public static String AUTHORITATIVE { get; }

Property Value

String

BATCHSIZE

public static String BATCHSIZE { get; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DNS_URL

public static String DNS_URL { get; }

Property Value

String

Environment

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

Property Value

Hashtable<object, object>

INITIAL_CONTEXT_FACTORY

public static String INITIAL_CONTEXT_FACTORY { get; }

Property Value

String

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

LANGUAGE

public static String LANGUAGE { get; }

Property Value

String

NameInNamespace

public String NameInNamespace { get; }

Property Value

String

OBJECT_FACTORIES

public static String OBJECT_FACTORIES { get; }

Property Value

String

PROVIDER_URL

public static String PROVIDER_URL { get; }

Property Value

String

REFERRAL

public static String REFERRAL { get; }

Property Value

String

SECURITY_AUTHENTICATION

public static String SECURITY_AUTHENTICATION { get; }

Property Value

String

SECURITY_CREDENTIALS

public static String SECURITY_CREDENTIALS { get; }

Property Value

String

SECURITY_PRINCIPAL

public static String SECURITY_PRINCIPAL { get; }

Property Value

String

SECURITY_PROTOCOL

public static String SECURITY_PROTOCOL { get; }

Property Value

String

STATE_FACTORIES

public static String STATE_FACTORIES { get; }

Property Value

String

URL_PKG_PREFIXES

public static String URL_PKG_PREFIXES { 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

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