Add cache event registrarcache
commit23ab5b439a5a438d1a9241a855511e72a91c51eb
authorImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 1 Jan 2009 14:53:24 +0000 (1 20:53 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 1 Jan 2009 14:53:24 +0000 (1 20:53 +0600)
tree6512adcbaa1c939e8696c0ac78de42ad9734b0ac
parentad280bf047ac22b887caff1dbcc087427cb73b20
Add cache event registrar

Though the cache event mechanism was present from the beginning of the
API but it was lacking a registrar which would life easy for event
management. This change adds that as well.

As registrar is an interface if user wants they can use their own
implementation as well.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/cache/CacheEventRegistrar.java [new file with mode: 0644]
smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/cache/impl/CacheAPIFactory.java
smart-abstract-dao/src/main/java/com/smartitengineering/dao/common/cache/impl/CacheEventRegistrarImpl.java [new file with mode: 0644]