fr.dyade.aaa.util
Class JndiHelper

java.lang.Object
  extended byfr.dyade.aaa.util.JndiHelper

public class JndiHelper
extends java.lang.Object


Constructor Summary
JndiHelper()
           
 
Method Summary
static javax.naming.InitialContext newInitialContext()
          Set the context class loader of the current thread in order to enable the JNDI helper class to find the specified factory class (java.naming.factory.initial).
static javax.naming.InitialContext newInitialContext(java.util.Hashtable properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiHelper

public JndiHelper()
Method Detail

newInitialContext

public static javax.naming.InitialContext newInitialContext()
                                                     throws javax.naming.NamingException
Set the context class loader of the current thread in order to enable the JNDI helper class to find the specified factory class (java.naming.factory.initial).

Throws:
javax.naming.NamingException

newInitialContext

public static javax.naming.InitialContext newInitialContext(java.util.Hashtable properties)
                                                     throws javax.naming.NamingException
Throws:
javax.naming.NamingException


Copyright ? 2004 Scalagent - All rights reserved