summaryrefslogtreecommitdiff
path: root/libjava/gnu/CORBA/Poa/gnuPOA.h
blob: 85af424679903962e9b68b824df8596dc6dfe1bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_CORBA_Poa_gnuPOA__
#define __gnu_CORBA_Poa_gnuPOA__

#pragma interface

#include <org/omg/CORBA/LocalObject.h>
#include <gcj/array.h>

extern "Java"
{
  namespace gnu
  {
    namespace CORBA
    {
      namespace Poa
      {
          class AOM;
          class AOM$Obj;
          class ORB_1_4;
          class ServantDelegateImpl;
          class gnuPOA;
      }
    }
  }
  namespace org
  {
    namespace omg
    {
      namespace CORBA
      {
          class ORB;
          class Object;
          class Policy;
          class SetOverrideType;
      }
      namespace PortableInterceptor
      {
          class ObjectReferenceFactory;
          class ObjectReferenceTemplate;
      }
      namespace PortableServer
      {
          class AdapterActivator;
          class IdAssignmentPolicy;
          class IdAssignmentPolicyValue;
          class IdUniquenessPolicy;
          class IdUniquenessPolicyValue;
          class ImplicitActivationPolicy;
          class ImplicitActivationPolicyValue;
          class LifespanPolicy;
          class LifespanPolicyValue;
          class POA;
          class POAManager;
          class RequestProcessingPolicy;
          class RequestProcessingPolicyValue;
          class Servant;
          class ServantActivator;
          class ServantLocator;
          class ServantManager;
          class ServantRetentionPolicy;
          class ServantRetentionPolicyValue;
          class ThreadPolicy;
          class ThreadPolicyValue;
      }
    }
  }
}

class gnu::CORBA::Poa::gnuPOA : public ::org::omg::CORBA::LocalObject
{

public:
  gnuPOA(::gnu::CORBA::Poa::gnuPOA *, ::java::lang::String *, ::org::omg::PortableServer::POAManager *, JArray< ::org::omg::CORBA::Policy * > *, ::gnu::CORBA::Poa::ORB_1_4 *);
  virtual void waitWhileRunning();
public: // actually protected
  virtual void etherealizeAll();
  virtual ::org::omg::PortableServer::POA * createPoaInstance(::java::lang::String *, ::org::omg::PortableServer::POAManager *, JArray< ::org::omg::CORBA::Policy * > *, ::gnu::CORBA::Poa::ORB_1_4 *);
public:
  virtual jboolean applies(::java::lang::Object *);
  virtual void required(::java::lang::Object *);
  virtual void excluding(::java::lang::Object *);
  virtual ::org::omg::PortableServer::POA * find_POA(::java::lang::String *, jboolean);
  virtual JArray< jbyte > * activate_object(::org::omg::PortableServer::Servant *);
  virtual void activate_object_with_id(JArray< jbyte > *, ::org::omg::PortableServer::Servant *);
  virtual void activate_object_with_id(JArray< jbyte > *, ::org::omg::PortableServer::Servant *, jboolean);
private:
  void locateServant(JArray< jbyte > *, ::org::omg::PortableServer::Servant *, ::gnu::CORBA::Poa::AOM$Obj *, jboolean);
public:
  virtual void deactivate_object(JArray< jbyte > *);
  virtual ::org::omg::CORBA::Object * create_reference(::java::lang::String *);
  virtual ::org::omg::CORBA::Object * create_reference_with_id(JArray< jbyte > *, ::java::lang::String *);
  virtual ::org::omg::PortableServer::POA * create_POA(::java::lang::String *, ::org::omg::PortableServer::POAManager *, JArray< ::org::omg::CORBA::Policy * > *);
  virtual ::org::omg::PortableServer::Servant * get_servant();
  virtual void set_servant(::org::omg::PortableServer::Servant *);
  virtual void set_servant_manager(::org::omg::PortableServer::ServantManager *);
  virtual ::org::omg::PortableServer::ServantManager * get_servant_manager();
  virtual JArray< jbyte > * id();
  virtual ::org::omg::CORBA::Object * id_to_reference(JArray< jbyte > *);
  virtual ::org::omg::PortableServer::Servant * id_to_servant(JArray< jbyte > *);
  virtual JArray< jbyte > * reference_to_id(::org::omg::CORBA::Object *);
  virtual ::org::omg::PortableServer::Servant * reference_to_servant(::org::omg::CORBA::Object *);
  virtual JArray< jbyte > * servant_to_id(::org::omg::PortableServer::Servant *);
  virtual ::org::omg::CORBA::Object * servant_to_reference(::org::omg::PortableServer::Servant *);
private:
  ::org::omg::PortableServer::Servant * incarnate(::gnu::CORBA::Poa::AOM$Obj *, JArray< jbyte > *, ::org::omg::PortableServer::Servant *, jboolean);
public:
  virtual ::org::omg::PortableServer::POAManager * the_POAManager();
  virtual ::org::omg::PortableServer::AdapterActivator * the_activator();
  virtual void the_activator(::org::omg::PortableServer::AdapterActivator *);
  virtual JArray< ::org::omg::PortableServer::POA * > * the_children();
  virtual ::java::lang::String * the_name();
  virtual ::org::omg::PortableServer::POA * the_parent();
  virtual ::org::omg::PortableServer::IdAssignmentPolicy * create_id_assignment_policy(::org::omg::PortableServer::IdAssignmentPolicyValue *);
  virtual ::org::omg::PortableServer::IdUniquenessPolicy * create_id_uniqueness_policy(::org::omg::PortableServer::IdUniquenessPolicyValue *);
  virtual ::org::omg::PortableServer::ImplicitActivationPolicy * create_implicit_activation_policy(::org::omg::PortableServer::ImplicitActivationPolicyValue *);
  virtual ::org::omg::PortableServer::LifespanPolicy * create_lifespan_policy(::org::omg::PortableServer::LifespanPolicyValue *);
  virtual ::org::omg::PortableServer::RequestProcessingPolicy * create_request_processing_policy(::org::omg::PortableServer::RequestProcessingPolicyValue *);
  virtual ::org::omg::PortableServer::ServantRetentionPolicy * create_servant_retention_policy(::org::omg::PortableServer::ServantRetentionPolicyValue *);
  virtual ::org::omg::PortableServer::ThreadPolicy * create_thread_policy(::org::omg::PortableServer::ThreadPolicyValue *);
  virtual void destroy(jboolean, jboolean);
public: // actually protected
  virtual void finalize();
private:
  void unregisterFromManager();
public:
  virtual ::org::omg::CORBA::Policy * _get_policy(jint);
  virtual JArray< ::org::omg::CORBA::Policy * > * getPolicyArray();
  virtual ::org::omg::CORBA::Object * _set_policy_override(JArray< ::org::omg::CORBA::Policy * > *, ::org::omg::CORBA::SetOverrideType *);
  virtual ::org::omg::CORBA::ORB * orb();
private:
  void create_and_connect(JArray< jbyte > *, ::java::lang::String *, ::gnu::CORBA::Poa::ServantDelegateImpl *);
public: // actually package-private
  virtual void checkDiscarding();
public: // actually protected
  virtual void connect_to_orb(JArray< jbyte > *, ::org::omg::CORBA::Object *);
public:
  virtual ::java::lang::String * toString();
public: // actually protected
  virtual jboolean validatePolicies(JArray< ::org::omg::CORBA::Policy * > *);
public:
  virtual ::gnu::CORBA::Poa::AOM$Obj * findObject(::org::omg::CORBA::Object *);
  virtual ::gnu::CORBA::Poa::AOM$Obj * findKey(JArray< jbyte > *, JArray< jbyte > *);
  virtual ::gnu::CORBA::Poa::AOM$Obj * findIorKey(JArray< jbyte > *);
  virtual JArray< jbyte > * toIORKey(JArray< jbyte > *);
  virtual JArray< jbyte > * idFormIor(JArray< jbyte > *);
  virtual ::gnu::CORBA::Poa::AOM$Obj * findServant(::org::omg::PortableServer::Servant *);
  virtual ::org::omg::PortableInterceptor::ObjectReferenceTemplate * getReferenceTemplate();
  virtual ::org::omg::PortableInterceptor::ObjectReferenceFactory * getReferenceFactory();
  virtual void setReferenceFactory(::org::omg::PortableInterceptor::ObjectReferenceFactory *);
  virtual ::org::omg::CORBA::Object * make_object(::java::lang::String *, JArray< jbyte > *);
  virtual JArray< ::java::lang::String * > * _truncatable_ids();
private:
  static const jlong serialVersionUID = 1LL;
public: // actually package-private
  ::org::omg::PortableInterceptor::ObjectReferenceTemplate * __attribute__((aligned(__alignof__( ::org::omg::CORBA::LocalObject)))) refTemplate;
  static JArray< ::java::lang::String * > * ref_template_ids;
public:
  ::gnu::CORBA::Poa::AOM * aom;
public: // actually package-private
  ::java::util::ArrayList * children;
  ::java::lang::String * name;
  ::org::omg::PortableServer::POA * parent;
  static const jint SIGNATURE = 1718773093;
  ::org::omg::PortableServer::AdapterActivator * m_activator;
  ::org::omg::PortableServer::POAManager * m_manager;
  ::org::omg::PortableServer::ServantActivator * servant_activator;
  ::org::omg::PortableServer::ServantLocator * servant_locator;
  ::org::omg::PortableServer::Servant * default_servant;
private:
  JArray< jbyte > * m_poa_id;
  ::java::util::HashSet * m_policies;
public: // actually package-private
  JArray< ::org::omg::CORBA::Policy * > * s_policies;
  ::gnu::CORBA::Poa::ORB_1_4 * m_orb;
  jboolean m_inDestruction;
public:
  jboolean retain_servant;
public: // actually package-private
  ::org::omg::PortableInterceptor::ObjectReferenceFactory * m_object_factory;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_CORBA_Poa_gnuPOA__