QueueConnection function ( ) { JmsUserCredentials loc0 = this . threadBoundCredentials . get ( ) ; if ( loc0 != null ) { return doCreateQueueConnection ( loc0 . username , loc0 . password ) ; } else { return doCreateQueueConnection ( this . username , this . password ) ; } }
determine whether there are currently thread-bound credentials , using them if available , falling back to the statically specified username and password i.e. values of the bean properties else . concode_field_sep String password concode_elem_sep ThreadLocal<JmsUserCredentials> threadBoundCredentials concode_elem_sep ConnectionFactory targetConnectionFactory concode_elem_sep String username concode_field_sep void setPassword concode_elem_sep void setUsername concode_elem_sep void setCredentialsForCurrentThread concode_elem_sep void afterPropertiesSet concode_elem_sep void setTargetConnectionFactory concode_elem_sep Connection createConnection concode_elem_sep Connection createConnection concode_elem_sep String toString concode_elem_sep TopicConnection createTopicConnection concode_elem_sep TopicConnection createTopicConnection concode_elem_sep TopicConnection doCreateTopicConnection concode_elem_sep void removeCredentialsFromCurrentThread concode_elem_sep Connection doCreateConnection concode_elem_sep QueueConnection doCreateQueueConnection