netscape.ldap
Class LDAPCheckComm

java.lang.Object
  extended by netscape.ldap.LDAPCheckComm

 class LDAPCheckComm
extends java.lang.Object

This static class checks if the caller is an applet running in Netscape Communicator. If so, it returns the appropriate method.


Constructor Summary
LDAPCheckComm()
           
 
Method Summary
(package private) static java.lang.reflect.Method getMethod(java.lang.String classPackage, java.lang.String name)
          Returns the method whose name matches the specified argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LDAPCheckComm

LDAPCheckComm()
Method Detail

getMethod

static java.lang.reflect.Method getMethod(java.lang.String classPackage,
                                          java.lang.String name)
                                   throws LDAPException
Returns the method whose name matches the specified argument.

Parameters:
classPackage - the class package
name - the method name
Returns:
the method.
Throws:
LDAPException - Gets thrown if the method is not found or the caller is not an applet running in Netscape Communicator.