public java . lang . Object addToEnvironment ( String propName , java . lang . Object propValue ) throws NamingException { if ( _env == null ) { _env = new Hashtable ( 7 , 0.75f ) ; } else { // copy-on-write _env = ( Hashtable ) _env . clone ( ) ; } return _env . put ( propName , propValue ) ; }
Adds to the environment for the current context . Record change but do not reinitialize ORB .