Code example for Hashtable

Methods: size

0
log.debug("JNDI InitialContext properties:" + props);
        } 
         
        try { 
            return props.size()==0 ?
                    new InitialContext() : 
                    new InitialContext(props);
        } 
        catch (NamingException e) {
            log.debug("Could not obtain initial context");
            throw e;
        } 
         
    } 
     
    public static InitialContext getInitialContext() throws NamingException  
    { 
       if (initialContext == null) initInitialContext(); 
           
       return initialContext;