KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*====================================================================
2
3 OpenCCM: The Open CORBA Component Model Platform
4 Copyright (C) 2001-2002 USTL - LIFL - GOAL
5 Contact: openccm-team@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__________________________________.
24
25 ====================================================================*/

26
27 package org.objectweb.openccm.Containers;
28
29 /**
30  * This interface allows the OpenCCM ComponentServer to deal with
31  * instantiated homes.
32  *
33  * TODO: This interface must be stabilized as soon as possible!
34  * Then it can change during next releases.
35  *
36  * @author <a HREF="mailto:Mathieu.Vadet@lifl.fr">Mathieu Vadet</a>
37  *
38  * @version 0.3
39  */

40
41 public interface HomeExecutorBase
42          extends org.omg.Components.HomeExecutorBase
43 {
44     /**
45      ** To know if the home has a primary key.
46      **/

47     public boolean
48     _has_primary_key();
49
50     /**
51      ** To obtain the home ::CORBA::RepositoryId.
52      **/

53     public java.lang.String JavaDoc
54     _the_home_uid();
55
56     /**
57      ** To obtain the component ::CORBA::RepositoryId.
58      **/

59     public java.lang.String JavaDoc
60     _the_component_uid();
61
62     /**
63      ** To obtain the component ports ::CORBA::RepositoryId.
64      **/

65     public java.lang.String JavaDoc[]
66     _the_port_uids();
67
68     /**
69      ** To obtain the ::CORBA::RepositoryId of facet or receptacle interface type or a
70      ** event sink or source event type.
71      **/

72     public java.lang.String JavaDoc
73     _get_port_type_uid(java.lang.String JavaDoc port_uid);
74
75     /**
76      ** To obtain a new interceptor instance for a specific port, the component or the home.
77      **/

78     public Interceptor
79     _get_interceptor(java.lang.String JavaDoc uid);
80
81     /**
82      ** To obtain a new instance of the component executor.
83      **/

84     public ComponentExecutor
85     _get_component_executor();
86
87     /**
88      ** To obtain a new instance of the executor locator wrapper for a
89      ** monolithic executor instance.
90      **/

91     public org.omg.Components.ExecutorLocator
92     _get_executor_locator(org.omg.Components.EnterpriseComponent comp);
93
94     /**
95      ** To obtain a new instance of a executor wrapper for a port executor instance.
96      ** For the moment, only event consumer executors have a wrapper.
97      **/

98     public java.lang.Object JavaDoc
99     _get_executor_wrapper(org.omg.CORBA.Object JavaDoc exe,
100                           java.lang.String JavaDoc port_uid);
101
102     /**
103      ** To obtain the home servant.
104      **/

105     public HomeServant
106     _home_servant();
107
108     /**
109      ** To set the home servant.
110      **/

111     public void
112     _home_servant(HomeServant home);
113
114     /**
115      ** To set the delegate object.
116      **/

117     public void
118     _delegate(org.omg.Components.HomeExecutorBase delegate);
119
120     /**
121      ** To obtain the delegate object.
122      **/

123     public org.omg.Components.HomeExecutorBase
124     _delegate();
125 }
126
Popular Tags