ObjectCreator.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_CORBA_ObjectCreator__
  3. #define __gnu_CORBA_ObjectCreator__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace gnu
  10. {
  11. namespace CORBA
  12. {
  13. namespace GIOP
  14. {
  15. class ServiceContext;
  16. }
  17. class ObjectCreator;
  18. }
  19. }
  20. namespace org
  21. {
  22. namespace omg
  23. {
  24. namespace CORBA
  25. {
  26. class Any;
  27. class SystemException;
  28. class UserException;
  29. namespace portable
  30. {
  31. class InputStream;
  32. class OutputStream;
  33. }
  34. }
  35. }
  36. }
  37. }
  38. class gnu::CORBA::ObjectCreator : public ::java::lang::Object
  39. {
  40. public:
  41. ObjectCreator();
  42. static ::java::lang::Object * createObject(::java::lang::String *, ::java::lang::String *);
  43. static ::org::omg::CORBA::SystemException * readSystemException(::org::omg::CORBA::portable::InputStream *, JArray< ::gnu::CORBA::GIOP::ServiceContext * > *);
  44. static ::org::omg::CORBA::UserException * readUserException(::java::lang::String *, ::org::omg::CORBA::portable::InputStream *);
  45. static ::java::lang::String * toHelperName(::java::lang::String *);
  46. static void writeSystemException(::org::omg::CORBA::portable::OutputStream *, ::org::omg::CORBA::SystemException *);
  47. public: // actually protected
  48. static ::java::lang::String * toClassName(::java::lang::String *, ::java::lang::String *);
  49. public:
  50. static ::java::lang::Class * Idl2class(::java::lang::String *);
  51. static ::java::lang::Object * Idl2Object(::java::lang::String *);
  52. static ::java::lang::String * getRepositoryId(::java::lang::Class *);
  53. static jboolean insertWithHelper(::org::omg::CORBA::Any *, ::java::lang::Object *);
  54. static jboolean insertSysException(::org::omg::CORBA::Any *, ::org::omg::CORBA::SystemException *);
  55. static ::java::lang::String * getDefaultName(::java::lang::String *);
  56. static void insertException(::org::omg::CORBA::Any *, ::java::lang::Throwable *);
  57. static ::java::lang::Class * findHelper(::java::lang::String *);
  58. static ::java::lang::Class * forName(::java::lang::String *);
  59. static ::java::lang::String * OMG_PREFIX;
  60. static ::java::lang::String * JAVA_PREFIX;
  61. static ::java::lang::String * CLASSPATH_PREFIX;
  62. static ::java::util::Map * m_names;
  63. static ::java::util::Map * m_classes;
  64. static ::java::util::Map * m_helpers;
  65. static ::java::lang::Class class$;
  66. };
  67. #endif // __gnu_CORBA_ObjectCreator__