View Javadoc
1   package net.swindle.springdemo.serviceimpl;
2   
3   import java.util.Random;
4   
5   import net.swindle.springdemo.service.BusinessService;
6   
7   public class CloudServiceImpl implements BusinessService {
8   
9     /* (non-Javadoc)
10     * @see net.swindle.springdemo.service.BusinessService#offerService(java.lang.String)
11     */
12    @Override
13    public String offerService(String companyName) {
14      final Random random = new Random();
15      return "\nAs an Organization, "
16          + companyName
17          + " offers world class Cloud computing infrastructure."
18          + "\nThe annual income exceeds "
19          + random.nextInt(revenue)
20          + " dollars.";
21    }
22  }