Add SPI for executing HBase operations in contained environment
commit8c978f53f1c7680fd527cae0b76b39660e6fd1bc
authorImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 26 Aug 2010 03:04:46 +0000 (26 09:04 +0600)
committerImran M Yousuf <imyousuf@smartitengineering.com>
Thu, 26 Aug 2010 03:04:46 +0000 (26 09:04 +0600)
treeeca803fd47bf3a8f98a42dfe8e0c81869cc3e4ac
parent0aa1a3acf285e494ba208329a2903e2ab35f132f
Add SPI for executing HBase operations in contained environment

The SPI basically abstracts the initialization of configuration, table pool
and creation of table. It also abstracts the exception wrapping from an
operation and returning a table to the pool. Thus allowing clients to
specifically concentrate on the main operation rather than working on its
surroundings. It uses callback handler to allow users to plugin their main
actions.

Signed-off-by: Imran M Yousuf <imyousuf@smartitengineering.com>
smart-hbase-dao/src/main/java/com/smartitengineering/dao/impl/hbase/spi/Callback.java [new file with mode: 0644]
smart-hbase-dao/src/main/java/com/smartitengineering/dao/impl/hbase/spi/ExecutorService.java [new file with mode: 0644]