SHARE
TWEET

Untitled

a guest Mar 19th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.pig.spring.springaop.springaop.business;
  2.  
  3. import org.springframework.beans.factory.annotation.Autowired;
  4. import org.springframework.stereotype.Service;
  5. import com.pig.spring.springaop.springaop.data.Dao1;
  6.  
  7. @Service
  8. public class Business1 {
  9.     //建立企業服務,並調用第一個資料源
  10.     @Autowired
  11.     private Dao1 dao1;
  12.    
  13.     public String calculateSomething() {
  14.         //Business logic
  15.         return dao1.retriveSomething();
  16.     }
  17. }
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