Context function ( ) { Hashtable < ? , ? > loc0 = null ; Properties loc1 = getEnvironment ( ) ; if ( loc1 != null ) { loc0 = new Hashtable < Object , Object > ( loc1 . size ( ) ) ; CollectionUtils . mergePropertiesIntoMap ( loc1 , loc0 ) ; } return new InitialContext ( loc0 ) ; }
create a new jndi initial context . invoked by #getcontext . the default implementation use this template 's environment settings . can be subclassed for custom contexts , e.g. for testing . concode_field_sep Properties environment concode_elem_sep Log logger concode_field_sep void releaseContext concode_elem_sep Object lookup concode_elem_sep T lookup concode_elem_sep void bind concode_elem_sep void rebind concode_elem_sep void unbind concode_elem_sep Properties getEnvironment concode_elem_sep void setEnvironment concode_elem_sep T execute concode_elem_sep Context getContext