
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __org_omg_CosNaming_NamingContextExtPOA__
#define __org_omg_CosNaming_NamingContextExtPOA__

#pragma interface

#include <org/omg/PortableServer/Servant.h>
#include <gcj/array.h>

extern "Java"
{
  namespace org
  {
    namespace omg
    {
      namespace CORBA
      {
          class ORB;
          class Object;
        namespace portable
        {
            class InputStream;
            class OutputStream;
            class ResponseHandler;
        }
      }
      namespace CosNaming
      {
          class BindingIteratorHolder;
          class BindingListHolder;
          class NameComponent;
          class NamingContext;
          class NamingContextExt;
          class NamingContextExtPOA;
      }
      namespace PortableServer
      {
          class POA;
      }
    }
  }
}

class org::omg::CosNaming::NamingContextExtPOA : public ::org::omg::PortableServer::Servant
{

public:
  NamingContextExtPOA();
  virtual JArray< ::java::lang::String * > * _all_interfaces(::org::omg::PortableServer::POA *, JArray< jbyte > *);
  virtual ::org::omg::CORBA::portable::OutputStream * _invoke(::java::lang::String *, ::org::omg::CORBA::portable::InputStream *, ::org::omg::CORBA::portable::ResponseHandler *);
public: // actually package-private
  virtual ::org::omg::CORBA::portable::OutputStream * super_invoke(::java::lang::String *, ::org::omg::CORBA::portable::InputStream *, ::org::omg::CORBA::portable::ResponseHandler *);
public:
  virtual ::org::omg::CosNaming::NamingContextExt * _this();
  virtual ::org::omg::CosNaming::NamingContextExt * _this(::org::omg::CORBA::ORB *);
  virtual ::org::omg::CORBA::Object * resolve_str(::java::lang::String *) = 0;
  virtual JArray< ::org::omg::CosNaming::NameComponent * > * to_name(::java::lang::String *) = 0;
  virtual ::java::lang::String * to_string(JArray< ::org::omg::CosNaming::NameComponent * > *) = 0;
  virtual ::java::lang::String * to_url(::java::lang::String *, ::java::lang::String *) = 0;
  virtual void bind(JArray< ::org::omg::CosNaming::NameComponent * > *, ::org::omg::CORBA::Object *) = 0;
  virtual void bind_context(JArray< ::org::omg::CosNaming::NameComponent * > *, ::org::omg::CosNaming::NamingContext *) = 0;
  virtual ::org::omg::CosNaming::NamingContext * bind_new_context(JArray< ::org::omg::CosNaming::NameComponent * > *) = 0;
  virtual void destroy() = 0;
  virtual void list(jint, ::org::omg::CosNaming::BindingListHolder *, ::org::omg::CosNaming::BindingIteratorHolder *) = 0;
  virtual ::org::omg::CosNaming::NamingContext * new_context() = 0;
  virtual void rebind(JArray< ::org::omg::CosNaming::NameComponent * > *, ::org::omg::CORBA::Object *) = 0;
  virtual void rebind_context(JArray< ::org::omg::CosNaming::NameComponent * > *, ::org::omg::CosNaming::NamingContext *) = 0;
  virtual ::org::omg::CORBA::Object * resolve(JArray< ::org::omg::CosNaming::NameComponent * > *) = 0;
  virtual void unbind(JArray< ::org::omg::CosNaming::NameComponent * > *) = 0;
  static ::java::lang::Class class$;
};

#endif // __org_omg_CosNaming_NamingContextExtPOA__
