Added a cache to transaction manager lookup to alleiviate locking issue...

Added a cache to tranbsaction manager lookup to alleiviate locking issues when we have more than one transaction manager present in application.