Table of Contents

Class DirContext

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

DirContext()

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

[Obsolete("DirContext 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 DirContext()

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

Parameters

args object[]

Properties

ADD_ATTRIBUTE

public static int ADD_ATTRIBUTE { get; }

Property Value

int

BridgeClassName

public override string BridgeClassName { 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

REMOVE_ATTRIBUTE

public static int REMOVE_ATTRIBUTE { get; }

Property Value

int

REPLACE_ATTRIBUTE

public static int REPLACE_ATTRIBUTE { get; }

Property Value

int

Methods

Bind(String, object, Attributes)

public void Bind(String arg0, object arg1, Attributes arg2)

Parameters

arg0 String

String

arg1 object

object

arg2 Attributes

Attributes

Exceptions

NamingException

Bind(Name, object, Attributes)

public void Bind(Name arg0, object arg1, Attributes arg2)

Parameters

arg0 Name

Name

arg1 object

object

arg2 Attributes

Attributes

Exceptions

NamingException

CreateSubcontext(String, Attributes)

public DirContext CreateSubcontext(String arg0, Attributes arg1)

Parameters

arg0 String

String

arg1 Attributes

Attributes

Returns

DirContext

DirContext

Exceptions

NamingException

CreateSubcontext(Name, Attributes)

public DirContext CreateSubcontext(Name arg0, Attributes arg1)

Parameters

arg0 Name

Name

arg1 Attributes

Attributes

Returns

DirContext

DirContext

Exceptions

NamingException

GetAttributes(String)

public Attributes GetAttributes(String arg0)

Parameters

arg0 String

String

Returns

Attributes

Attributes

Exceptions

NamingException

GetAttributes(String, String[])

public Attributes GetAttributes(String arg0, String[] arg1)

Parameters

arg0 String

String

arg1 String[]

String

Returns

Attributes

Attributes

Exceptions

NamingException

GetAttributes(Name)

public Attributes GetAttributes(Name arg0)

Parameters

arg0 Name

Name

Returns

Attributes

Attributes

Exceptions

NamingException

GetAttributes(Name, String[])

public Attributes GetAttributes(Name arg0, String[] arg1)

Parameters

arg0 Name

Name

arg1 String[]

String

Returns

Attributes

Attributes

Exceptions

NamingException

GetSchema(String)

public DirContext GetSchema(String arg0)

Parameters

arg0 String

String

Returns

DirContext

DirContext

Exceptions

NamingException

GetSchema(Name)

public DirContext GetSchema(Name arg0)

Parameters

arg0 Name

Name

Returns

DirContext

DirContext

Exceptions

NamingException

GetSchemaClassDefinition(String)

public DirContext GetSchemaClassDefinition(String arg0)

Parameters

arg0 String

String

Returns

DirContext

DirContext

Exceptions

NamingException

GetSchemaClassDefinition(Name)

public DirContext GetSchemaClassDefinition(Name arg0)

Parameters

arg0 Name

Name

Returns

DirContext

DirContext

Exceptions

NamingException

ModifyAttributes(String, ModificationItem[])

public void ModifyAttributes(String arg0, ModificationItem[] arg1)

Parameters

arg0 String

String

arg1 ModificationItem[]

ModificationItem

Exceptions

NamingException

ModifyAttributes(String, int, Attributes)

public void ModifyAttributes(String arg0, int arg1, Attributes arg2)

Parameters

arg0 String

String

arg1 int

int

arg2 Attributes

Attributes

Exceptions

NamingException

ModifyAttributes(Name, ModificationItem[])

public void ModifyAttributes(Name arg0, ModificationItem[] arg1)

Parameters

arg0 Name

Name

arg1 ModificationItem[]

ModificationItem

Exceptions

NamingException

ModifyAttributes(Name, int, Attributes)

public void ModifyAttributes(Name arg0, int arg1, Attributes arg2)

Parameters

arg0 Name

Name

arg1 int

int

arg2 Attributes

Attributes

Exceptions

NamingException

Rebind(String, object, Attributes)

public void Rebind(String arg0, object arg1, Attributes arg2)

Parameters

arg0 String

String

arg1 object

object

arg2 Attributes

Attributes

Exceptions

NamingException

Rebind(Name, object, Attributes)

public void Rebind(Name arg0, object arg1, Attributes arg2)

Parameters

arg0 Name

Name

arg1 object

object

arg2 Attributes

Attributes

Exceptions

NamingException

Search(String, String, SearchControls)

public NamingEnumeration<SearchResult> Search(String arg0, String arg1, SearchControls arg2)

Parameters

arg0 String

String

arg1 String

String

arg2 SearchControls

SearchControls

Returns

NamingEnumeration<SearchResult>

NamingEnumeration

Exceptions

NamingException

Search(String, String, object[], SearchControls)

public NamingEnumeration<SearchResult> Search(String arg0, String arg1, object[] arg2, SearchControls arg3)

Parameters

arg0 String

String

arg1 String

String

arg2 object[]

object

arg3 SearchControls

SearchControls

Returns

NamingEnumeration<SearchResult>

NamingEnumeration

Exceptions

NamingException

Search(String, Attributes)

public NamingEnumeration<SearchResult> Search(String arg0, Attributes arg1)

Parameters

arg0 String

String

arg1 Attributes

Attributes

Returns

NamingEnumeration<SearchResult>

NamingEnumeration

Exceptions

NamingException

Search(String, Attributes, String[])

public NamingEnumeration<SearchResult> Search(String arg0, Attributes arg1, String[] arg2)

Parameters

arg0 String

String

arg1 Attributes

Attributes

arg2 String[]

String

Returns

NamingEnumeration<SearchResult>

NamingEnumeration

Exceptions

NamingException

Search(Name, String, SearchControls)

public NamingEnumeration<SearchResult> Search(Name arg0, String arg1, SearchControls arg2)

Parameters

arg0 Name

Name

arg1 String

String

arg2 SearchControls

SearchControls

Returns

NamingEnumeration<SearchResult>

NamingEnumeration

Exceptions

NamingException

Search(Name, String, object[], SearchControls)

public NamingEnumeration<SearchResult> Search(Name arg0, String arg1, object[] arg2, SearchControls arg3)

Parameters

arg0 Name

Name

arg1 String

String

arg2 object[]

object

arg3 SearchControls

SearchControls

Returns

NamingEnumeration<SearchResult>

NamingEnumeration

Exceptions

NamingException

Search(Name, Attributes)

public NamingEnumeration<SearchResult> Search(Name arg0, Attributes arg1)

Parameters

arg0 Name

Name

arg1 Attributes

Attributes

Returns

NamingEnumeration<SearchResult>

NamingEnumeration

Exceptions

NamingException

Search(Name, Attributes, String[])

public NamingEnumeration<SearchResult> Search(Name arg0, Attributes arg1, String[] arg2)

Parameters

arg0 Name

Name

arg1 Attributes

Attributes

arg2 String[]

String

Returns

NamingEnumeration<SearchResult>

NamingEnumeration

Exceptions

NamingException