question: 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 ConnectionFactory targetConnectionFactory concode_elem_sep ThreadLocal<JmsUserCredentials> threadBoundCredentials concode_elem_sep String username concode_field_sep ConnectionFactory obtainTargetConnectionFactory concode_elem_sep void setPassword concode_elem_sep void setUsername concode_elem_sep Connection createConnection concode_elem_sep Connection createConnection concode_elem_sep QueueConnection createQueueConnection concode_elem_sep QueueConnection createQueueConnection concode_elem_sep JMSContext createContext concode_elem_sep JMSContext createContext concode_elem_sep JMSContext createContext concode_elem_sep JMSContext createContext concode_elem_sep void setCredentialsForCurrentThread concode_elem_sep void afterPropertiesSet concode_elem_sep void setTargetConnectionFactory concode_elem_sep String toString concode_elem_sep TopicConnection doCreateTopicConnection concode_elem_sep void removeCredentialsFromCurrentThread concode_elem_sep Connection doCreateConnection concode_elem_sep QueueConnection doCreateQueueConnection
target: TopicConnection function ( ) { JmsUserCredentials loc0 = this . threadBoundCredentials . get ( ) ; if ( loc0 != null ) { return doCreateTopicConnection ( loc0 . username , loc0 . password ) ; } else { return doCreateTopicConnection ( this . username , this . password ) ; } }