KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > ccm > runtime > ComponentPOAConfigurationImpl


1 // ====================================================================
2
//
3
// ECM: The Extensible Container Model
4
// Copyright (C) 2004 THALES
5
// Contact: openccm-ecm@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
// Initial Funding: IST COACH European project (IST-2001-34445)
24
// http://www.ist-coach.org
25
//
26
// ====================================================================
27

28
29
30 package org.objectweb.ccm.runtime;
31
32 import org.objectweb.corba.runtime.*;
33
34 /**
35  ** <p>Default implementation of the <tt>ComponentPOAConfiguration</tt> OMG IDL interface.</p>
36  **/

37 public class ComponentPOAConfigurationImpl
38 extends POAConfigurationImpl
39 implements ComponentPOAConfiguration
40 {
41     // component poa configuration
42
private ServicesSet _services_set;
43
44     // default constructor
45
public
46     ComponentPOAConfigurationImpl(String JavaDoc name,
47                                   org.omg.CORBA.Policy JavaDoc[] pols,
48                                   ORBService orbs,
49                                   ServicesSet sset)
50     {
51         // poa configuration
52
super(name, pols, orbs);
53
54         // component poa configuration
55
_services_set = sset;
56     }
57
58     //
59
// IDL:objectweb.org/corba/runtime/POAConfiguration:1.0
60
//
61

62     //
63
// IDL:objectweb.org/ccm/runtime/ComponentPOAConfiguration:1.0
64
//
65

66     final public ServicesSet
67     services_set()
68     {
69         return _services_set;
70     }
71 }
Popular Tags