View Javadoc

1   /*
2    * <cvs:source>$Source: /devel/astrogrid/community/common/src/java/org/astrogrid/community/common/service/CommunityService.java,v $</cvs:source>
3    * <cvs:author>$Author: dave $</cvs:author>
4    * <cvs:date>$Date: 2004/06/18 13:45:20 $</cvs:date>
5    * <cvs:version>$Revision: 1.4 $</cvs:version>
6    *
7    * <cvs:log>
8    *   $Log: CommunityService.java,v $
9    *   Revision 1.4  2004/06/18 13:45:20  dave
10   *   Merged development branch, dave-dev-200406081614, into HEAD
11   *
12   *   Revision 1.3.38.1  2004/06/17 13:38:59  dave
13   *   Tidied up old CVS log entries
14   *
15   * </cvs:log>
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      }