Salome HOME
924dff99ca86d4319041511eac57bc64d84044b2
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / ServiceLocator.java
1 /*****************************************************************************
2  * Company         OPEN CASCADE
3  * Application     SIMAN
4  * File            $Id$ 
5  * Creation date   19.10.2012
6  * @author         $Author$
7  * @version        $Revision$
8  * @copyright      OPEN CASCADE 2012-2014
9  *****************************************************************************/
10
11 package org.splat.service;
12
13 /**
14  * The service locator interface.
15  * 
16  * @author <a href="mailto:roman.kozlov@opencascade.com">Roman Kozlov (RKV)</a>
17  */
18 @Deprecated
19 public interface ServiceLocator {
20         /**
21          * Get study service.
22          * 
23          * @return study service
24          */
25         StudyService getStudyService();
26
27         /**
28          * Set the studyService.
29          * 
30          * @param studyService
31          *            the studyService to set
32          */
33         void setStudyService(StudyService studyService);
34
35         /**
36          * Get the userService.
37          * 
38          * @return the userService
39          */
40         UserService getUserService();
41
42         /**
43          * Set the userService.
44          * 
45          * @param userService
46          *            the userService to set
47          */
48         void setUserService(UserService userService);
49
50         /**
51          * Get the publicationService.
52          * 
53          * @return the publicationService
54          */
55         PublicationService getPublicationService();
56         /**
57          * Set the publicationService.
58          * 
59          * @param publicationService
60          *            the publicationService to set
61          */
62         void setPublicationService(PublicationService publicationService);
63 }