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. package com.sun.corba.se.impl.naming.cosnaming;
  8. import org.omg.CORBA.Object;
  9. import org.omg.CosNaming.Binding;
  10. import org.omg.CosNaming.NameComponent;
  11. /**
  12. * Class InternalBindingKey acts as a container for two objects, namely
  13. * a org.omg.CosNaming::Binding and an CORBA object reference, which are the two
  14. * components associated with the binding.
  15. */
  16. public class InternalBindingValue
  17. {
  18. public Binding theBinding;
  19. public String strObjectRef;
  20. public org.omg.CORBA.Object theObjectRef;
  21. // Default constructor
  22. public InternalBindingValue() {}
  23. // Normal constructor
  24. public InternalBindingValue(Binding b, String o) {
  25. theBinding = b;
  26. strObjectRef = o;
  27. }
  28. }