Libraries anvil naming

namespace naming
Provides the functions and classes and for accessing naming services.

Classes

class Attribute
extends anvil.lang.object
This class represents an attribute associated with a named object.

class Attributes
extends anvil.lang.object
This class represents a collection of attributes.

class Name
extends anvil.lang.object

class NameParser
extends anvil.lang.object

class NamingContext
extends anvil.lang.object

class SearchControls
extends anvil.lang.object
This class encapsultes factors that determine scope of search and what gets returned as a result of the search.

class SearchResult
extends anvil.lang.object


Constants

constant ADD
Modification attribute: add new attribute

constant OBJECT_SCOPE
Searching attribute: Search the named object.

constant ONELEVEL_SCOPE
Searching attribute: Search one level of the named object.

constant REMOVE
Modification attribute: remove attribute

constant REPLACE
Modification attribute: add or replace attribute

constant SUBTREE_SCOPE
Searching attribute: Search the entire subtree rooted at the named object.


Functions

NamingContext acquire(string poolName)
Acquires JNDI context explicitly. 'poolName' has same rules as in query function.
Parameters poolName -  Configured pool name

NamingContext connect(string type, array properties)
Creates new NamingContext
Parameters type -  Type of context: ldap, directory, ...
properties -  Array of properties