1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.astrogrid.community.common.service ;
19
20 import java.rmi.Remote ;
21 import java.rmi.RemoteException ;
22
23 import org.astrogrid.community.common.service.data.ServiceStatusData ;
24 import org.astrogrid.community.common.exception.CommunityServiceException ;
25
26 /***
27 * Generic interface for all of our services.
28 *
29 */
30 public interface CommunityService
31 extends Remote
32 {
33
34 /***
35 * Service health check.
36 * @throws CommunityServiceException If there is an server error.
37 * @throws RemoteException If the WebService call fails.
38 *
39 */
40 public ServiceStatusData getServiceStatus()
41 throws RemoteException, CommunityServiceException ;
42
43 }