Created cache adapter for ehcache