edu.princeton.wordnet.client
Class JNDISearcher

java.lang.Object
  extended by edu.princeton.wordnet.client.JNDISearcher
Direct Known Subclasses:
WordNetSearcher

public class JNDISearcher
extends java.lang.Object

JNDI Searcher

Author:
Bernard Bou

Field Summary
static java.lang.String ROOT
           
(package private)  javax.naming.Context theContext
           
 
Constructor Summary
JNDISearcher(javax.naming.Context thisContext)
          Constructor
 
Method Summary
(package private)  void search(java.lang.String thisParentName, java.util.Map<java.lang.String,java.lang.String> thisMap)
          Search
 void search(java.lang.String thisParentName, java.lang.String thisFilter, java.util.Collection<java.lang.String> thisCollection)
          Search
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT

public static final java.lang.String ROOT
See Also:
Constant Field Values

theContext

final javax.naming.Context theContext
Constructor Detail

JNDISearcher

public JNDISearcher(javax.naming.Context thisContext)
             throws java.lang.Exception
Constructor

Throws:
java.lang.Exception
Method Detail

search

public void search(java.lang.String thisParentName,
                   java.lang.String thisFilter,
                   java.util.Collection<java.lang.String> thisCollection)
            throws javax.naming.NamingException
Search

Parameters:
thisParentName - parent
thisFilter - filter on class name
thisCollection - result collection
Throws:
javax.naming.NamingException

search

void search(java.lang.String thisParentName,
            java.util.Map<java.lang.String,java.lang.String> thisMap)
      throws javax.naming.NamingException
Search

Parameters:
thisParentName - parent
thisMap - name-classname map result
Throws:
javax.naming.NamingException