KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > impl > naming > cosnaming > InternalBindingValue


1 /*
2  * @(#)InternalBindingValue.java 1.24 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.corba.se.impl.naming.cosnaming;
9
10 import org.omg.CORBA.Object JavaDoc;
11 import org.omg.CosNaming.Binding JavaDoc;
12 import org.omg.CosNaming.NameComponent JavaDoc;
13
14 /**
15  * Class InternalBindingKey acts as a container for two objects, namely
16  * a org.omg.CosNaming::Binding and an CORBA object reference, which are the two
17  * components associated with the binding.
18  */

19 public class InternalBindingValue
20 {
21     public Binding JavaDoc theBinding;
22     public String JavaDoc strObjectRef;
23     public org.omg.CORBA.Object JavaDoc theObjectRef;
24   
25     // Default constructor
26
public InternalBindingValue() {}
27
28     // Normal constructor
29
public InternalBindingValue(Binding JavaDoc b, String JavaDoc o) {
30     theBinding = b;
31     strObjectRef = o;
32     }
33 }
34
Popular Tags