KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > openccm > Containers > HomeServant


1 /*====================================================================
2
3 OpenCCM: The Open CORBA Component Model Platform
4 Copyright (C) 2000-2003 INRIA - USTL - LIFL - GOAL
5 Contact: openccm@objectweb.org
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
20 USA
21
22 Initial developer(s): Mathieu Vadet.
23 Contributor(s): Sylvain Leblanc, Romain Rouvoy, Philippe Merle.
24
25 ====================================================================*/

26
27 package org.objectweb.openccm.Containers;
28
29 import org.objectweb.openccm.Containers.PCA;
30 import org.objectweb.openccm.Containers.SystemConfiguration;
31 import org.objectweb.openccm.Containers.SystemHomeFinder;
32 import org.objectweb.openccm.Containers.MetaInformation.HomeInstance;
33
34 /**
35  * An home servant is conceptually an extension of the CORBA servant
36  * but dedicated to homes.
37  *
38  * @author <a HREF="mailto:Mathieu.Vadet@lifl.fr">Mathieu Vadet</a>
39  *
40  * @version 0.3
41  */

42
43 public interface HomeServant
44 {
45     /**
46      **
47      **/

48     public SystemConfiguration
49     the_home_configuration();
50
51     /**
52      **
53      **/

54     public SystemConfiguration
55     the_component_configuration();
56
57     /**
58      **
59      **/

60     public SystemHomeFinder
61     the_home_finder();
62     /**
63      ** Modif MetaInformation
64      **/

65     
66     public HomeInstance
67     the_home_instance();
68
69     /**
70      **
71      **/

72     public HomeExecutorBase
73     the_home_executor();
74
75     /**
76      **
77      **/

78     public PCA
79     the_PCA();
80
81     /**
82      **
83      **/

84     public void
85     the_PCA(PCA pca);
86
87     /**
88      **
89      **/

90     public org.omg.Components.CCMHome
91     the_home_ref();
92
93     /**
94      **
95      **/

96     public void
97     the_home_ref(org.omg.Components.CCMHome ref);
98
99     /**
100      **
101      **/

102     public org.omg.Components.Cookie
103     the_registration_info();
104
105     /**
106      **
107      **/

108     public void
109     the_registration_info(org.omg.Components.Cookie cookie);
110
111 /*
112   New operation added according to the
113   OpenCCM Task #633 and OMG issue #6001.
114
115   Contributor: Philippe Merle - INRIA
116 */

117     /**
118      **
119      **/

120     public org.objectweb.openccm.Deployment.ContainerBase
121     the_container_base();
122
123     /**
124      **
125      **/

126     public void
127     the_container_base(org.objectweb.openccm.Deployment.ContainerBase container);
128
129     /**
130      **
131      **/

132     public void
133     remove()
134         throws org.omg.Components.RemoveFailure;
135 }
136
Popular Tags