1
2
3
4
5 package com.hack23.cia.service.impl.common;
6
7 import com.hack23.cia.service.api.common.ServiceRequest;
8 import com.hack23.cia.service.api.common.ServiceResponse;
9
10 /***
11 * The Interface BusinessService.
12 */
13 public interface BusinessService {
14
15 /***
16 * Gets the supported service.
17 *
18 * @return the supported service
19 */
20 Class<ServiceRequest> getSupportedService();
21
22 /***
23 * Process service.
24 *
25 * @param serviceRequest the service request
26 * @return the service response
27 */
28 ServiceResponse processService(ServiceRequest serviceRequest);
29 }