All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iceberg.namemapping.Lookup

java.lang.Object
   |
   +----iceberg.namemapping.Lookup

public class Lookup
extends Object
Lookup the location of the preference registry and unique ID given the distinguished name (which can be a service specific ID or a unique ID itself.


Variable Index

 o LDAPServer
Bootstrap LDAPServer for this machine

Constructor Index

 o Lookup()

Method Index

 o getFieldFromDN(String, String)
Get the value of a given field in a given LDAP DN
 o lookup(String)
Given the DN (which could be the unique-id or network specific id of an ICEBERG entity), lookup information in the LDAP registry.

Variables

 o LDAPServer
 public static String LDAPServer
Bootstrap LDAPServer for this machine

Constructors

 o Lookup
 public Lookup()

Methods

 o lookup
 public static LookupResult lookup(String dnStr) throws LDAPException
Given the DN (which could be the unique-id or network specific id of an ICEBERG entity), lookup information in the LDAP registry. The information that has to be retrieved includes: The RMI URL of the preference registry, the unique id of the entity and the different network specific ids of the entity.

 o getFieldFromDN
 public static String getFieldFromDN(String dnStr,
                                     String field) throws BadDNException
Get the value of a given field in a given LDAP DN


All Packages  Class Hierarchy  This Package  Previous  Next  Index