1. /*
  2. * @(#)ContextImpl.java 1.23 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. * Licensed Materials - Property of IBM
  9. * RMI-IIOP v1.0
  10. * Copyright IBM Corp. 1998 1999 All Rights Reserved
  11. *
  12. * US Government Users Restricted Rights - Use, duplication or
  13. * disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  14. */
  15. package com.sun.corba.se.impl.corba;
  16. import org.omg.CORBA.Any;
  17. import org.omg.CORBA.Context;
  18. import org.omg.CORBA.NO_IMPLEMENT;
  19. import org.omg.CORBA.SystemException;
  20. import org.omg.CORBA.NVList;
  21. import com.sun.corba.se.spi.logging.CORBALogDomains ;
  22. import com.sun.corba.se.impl.logging.ORBUtilSystemException ;
  23. public final class ContextImpl extends Context {
  24. private org.omg.CORBA.ORB _orb;
  25. private ORBUtilSystemException wrapper ;
  26. public ContextImpl(org.omg.CORBA.ORB orb)
  27. {
  28. _orb = orb;
  29. wrapper = ORBUtilSystemException.get(
  30. (com.sun.corba.se.spi.orb.ORB)orb,
  31. CORBALogDomains.RPC_PRESENTATION ) ;
  32. }
  33. public ContextImpl(Context parent)
  34. {
  35. throw wrapper.contextNotImplemented() ;
  36. }
  37. public String context_name()
  38. {
  39. throw wrapper.contextNotImplemented() ;
  40. }
  41. public Context parent()
  42. {
  43. throw wrapper.contextNotImplemented() ;
  44. }
  45. public Context create_child(String name)
  46. {
  47. throw wrapper.contextNotImplemented() ;
  48. }
  49. public void set_one_value(String propName, Any propValue)
  50. {
  51. throw wrapper.contextNotImplemented() ;
  52. }
  53. public void set_values(NVList values)
  54. {
  55. throw wrapper.contextNotImplemented() ;
  56. }
  57. public void delete_values(String propName)
  58. {
  59. throw wrapper.contextNotImplemented() ;
  60. }
  61. public NVList get_values(String startScope,
  62. int opFlags,
  63. String propName)
  64. {
  65. throw wrapper.contextNotImplemented() ;
  66. }
  67. };