SHARE
TWEET

Untitled

a guest Jul 14th, 2011 240 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @Service
  2. public class TestServiceImpl implements TestService{
  3.  
  4.         //DAO interface
  5.         private TestServiceDAO testServiceDAO;
  6.        
  7.         @Override
  8.         @Transactional
  9.         public String getResponse() {
  10.                 String response = testServiceDAO.getResponse();
  11.                 return response;
  12.         }
  13.  
  14.         public TestServiceDAO getTestServiceDAO() {
  15.                 return testServiceDAO;
  16.         }
  17.  
  18.         public void setTestServiceDAO(TestServiceDAO testServiceDAO) {
  19.                 this.testServiceDAO = testServiceDAO;
  20.         }
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top