2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __gnu_CORBA_Poa_gnuPOA__
5 #define __gnu_CORBA_Poa_gnuPOA__
9 #include <org/omg/CORBA/LocalObject.h>
10 #include <gcj/array.h>
23 class ServantDelegateImpl
;
37 class SetOverrideType
;
39 namespace PortableInterceptor
41 class ObjectReferenceFactory
;
42 class ObjectReferenceTemplate
;
44 namespace PortableServer
46 class AdapterActivator
;
47 class IdAssignmentPolicy
;
48 class IdAssignmentPolicyValue
;
49 class IdUniquenessPolicy
;
50 class IdUniquenessPolicyValue
;
51 class ImplicitActivationPolicy
;
52 class ImplicitActivationPolicyValue
;
54 class LifespanPolicyValue
;
57 class RequestProcessingPolicy
;
58 class RequestProcessingPolicyValue
;
60 class ServantActivator
;
63 class ServantRetentionPolicy
;
64 class ServantRetentionPolicyValue
;
66 class ThreadPolicyValue
;
72 class gnu::CORBA::Poa::gnuPOA
: public ::org::omg::CORBA::LocalObject
76 gnuPOA(::gnu::CORBA::Poa::gnuPOA
*, ::java::lang::String
*, ::org::omg::PortableServer::POAManager
*, JArray
< ::org::omg::CORBA::Policy
* > *, ::gnu::CORBA::Poa::ORB_1_4
*);
77 virtual void waitWhileRunning();
78 public: // actually protected
79 virtual void etherealizeAll();
80 virtual ::org::omg::PortableServer::POA
* createPoaInstance(::java::lang::String
*, ::org::omg::PortableServer::POAManager
*, JArray
< ::org::omg::CORBA::Policy
* > *, ::gnu::CORBA::Poa::ORB_1_4
*);
82 virtual jboolean
applies(::java::lang::Object
*);
83 virtual void required(::java::lang::Object
*);
84 virtual void excluding(::java::lang::Object
*);
85 virtual ::org::omg::PortableServer::POA
* find_POA(::java::lang::String
*, jboolean
);
86 virtual JArray
< jbyte
> * activate_object(::org::omg::PortableServer::Servant
*);
87 virtual void activate_object_with_id(JArray
< jbyte
> *, ::org::omg::PortableServer::Servant
*);
88 virtual void activate_object_with_id(JArray
< jbyte
> *, ::org::omg::PortableServer::Servant
*, jboolean
);
90 void locateServant(JArray
< jbyte
> *, ::org::omg::PortableServer::Servant
*, ::gnu::CORBA::Poa::AOM$Obj
*, jboolean
);
92 virtual void deactivate_object(JArray
< jbyte
> *);
93 virtual ::org::omg::CORBA::Object
* create_reference(::java::lang::String
*);
94 virtual ::org::omg::CORBA::Object
* create_reference_with_id(JArray
< jbyte
> *, ::java::lang::String
*);
95 virtual ::org::omg::PortableServer::POA
* create_POA(::java::lang::String
*, ::org::omg::PortableServer::POAManager
*, JArray
< ::org::omg::CORBA::Policy
* > *);
96 virtual ::org::omg::PortableServer::Servant
* get_servant();
97 virtual void set_servant(::org::omg::PortableServer::Servant
*);
98 virtual void set_servant_manager(::org::omg::PortableServer::ServantManager
*);
99 virtual ::org::omg::PortableServer::ServantManager
* get_servant_manager();
100 virtual JArray
< jbyte
> * id();
101 virtual ::org::omg::CORBA::Object
* id_to_reference(JArray
< jbyte
> *);
102 virtual ::org::omg::PortableServer::Servant
* id_to_servant(JArray
< jbyte
> *);
103 virtual JArray
< jbyte
> * reference_to_id(::org::omg::CORBA::Object
*);
104 virtual ::org::omg::PortableServer::Servant
* reference_to_servant(::org::omg::CORBA::Object
*);
105 virtual JArray
< jbyte
> * servant_to_id(::org::omg::PortableServer::Servant
*);
106 virtual ::org::omg::CORBA::Object
* servant_to_reference(::org::omg::PortableServer::Servant
*);
108 ::org::omg::PortableServer::Servant
* incarnate(::gnu::CORBA::Poa::AOM$Obj
*, JArray
< jbyte
> *, ::org::omg::PortableServer::Servant
*, jboolean
);
110 virtual ::org::omg::PortableServer::POAManager
* the_POAManager();
111 virtual ::org::omg::PortableServer::AdapterActivator
* the_activator();
112 virtual void the_activator(::org::omg::PortableServer::AdapterActivator
*);
113 virtual JArray
< ::org::omg::PortableServer::POA
* > * the_children();
114 virtual ::java::lang::String
* the_name();
115 virtual ::org::omg::PortableServer::POA
* the_parent();
116 virtual ::org::omg::PortableServer::IdAssignmentPolicy
* create_id_assignment_policy(::org::omg::PortableServer::IdAssignmentPolicyValue
*);
117 virtual ::org::omg::PortableServer::IdUniquenessPolicy
* create_id_uniqueness_policy(::org::omg::PortableServer::IdUniquenessPolicyValue
*);
118 virtual ::org::omg::PortableServer::ImplicitActivationPolicy
* create_implicit_activation_policy(::org::omg::PortableServer::ImplicitActivationPolicyValue
*);
119 virtual ::org::omg::PortableServer::LifespanPolicy
* create_lifespan_policy(::org::omg::PortableServer::LifespanPolicyValue
*);
120 virtual ::org::omg::PortableServer::RequestProcessingPolicy
* create_request_processing_policy(::org::omg::PortableServer::RequestProcessingPolicyValue
*);
121 virtual ::org::omg::PortableServer::ServantRetentionPolicy
* create_servant_retention_policy(::org::omg::PortableServer::ServantRetentionPolicyValue
*);
122 virtual ::org::omg::PortableServer::ThreadPolicy
* create_thread_policy(::org::omg::PortableServer::ThreadPolicyValue
*);
123 virtual void destroy(jboolean
, jboolean
);
124 public: // actually protected
125 virtual void finalize();
127 void unregisterFromManager();
129 virtual ::org::omg::CORBA::Policy
* _get_policy(jint
);
130 virtual JArray
< ::org::omg::CORBA::Policy
* > * getPolicyArray();
131 virtual ::org::omg::CORBA::Object
* _set_policy_override(JArray
< ::org::omg::CORBA::Policy
* > *, ::org::omg::CORBA::SetOverrideType
*);
132 virtual ::org::omg::CORBA::ORB
* orb();
134 void create_and_connect(JArray
< jbyte
> *, ::java::lang::String
*, ::gnu::CORBA::Poa::ServantDelegateImpl
*);
135 public: // actually package-private
136 virtual void checkDiscarding();
137 public: // actually protected
138 virtual void connect_to_orb(JArray
< jbyte
> *, ::org::omg::CORBA::Object
*);
140 virtual ::java::lang::String
* toString();
141 public: // actually protected
142 virtual jboolean
validatePolicies(JArray
< ::org::omg::CORBA::Policy
* > *);
144 virtual ::gnu::CORBA::Poa::AOM$Obj
* findObject(::org::omg::CORBA::Object
*);
145 virtual ::gnu::CORBA::Poa::AOM$Obj
* findKey(JArray
< jbyte
> *, JArray
< jbyte
> *);
146 virtual ::gnu::CORBA::Poa::AOM$Obj
* findIorKey(JArray
< jbyte
> *);
147 virtual JArray
< jbyte
> * toIORKey(JArray
< jbyte
> *);
148 virtual JArray
< jbyte
> * idFormIor(JArray
< jbyte
> *);
149 virtual ::gnu::CORBA::Poa::AOM$Obj
* findServant(::org::omg::PortableServer::Servant
*);
150 virtual ::org::omg::PortableInterceptor::ObjectReferenceTemplate
* getReferenceTemplate();
151 virtual ::org::omg::PortableInterceptor::ObjectReferenceFactory
* getReferenceFactory();
152 virtual void setReferenceFactory(::org::omg::PortableInterceptor::ObjectReferenceFactory
*);
153 virtual ::org::omg::CORBA::Object
* make_object(::java::lang::String
*, JArray
< jbyte
> *);
154 virtual JArray
< ::java::lang::String
* > * _truncatable_ids();
156 static const jlong serialVersionUID
= 1LL;
157 public: // actually package-private
158 ::org::omg::PortableInterceptor::ObjectReferenceTemplate
* __attribute__((aligned(__alignof__( ::org::omg::CORBA::LocalObject
)))) refTemplate
;
159 static JArray
< ::java::lang::String
* > * ref_template_ids
;
161 ::gnu::CORBA::Poa::AOM
* aom
;
162 public: // actually package-private
163 ::java::util::ArrayList
* children
;
164 ::java::lang::String
* name
;
165 ::org::omg::PortableServer::POA
* parent
;
166 static const jint SIGNATURE
= 1718773093;
167 ::org::omg::PortableServer::AdapterActivator
* m_activator
;
168 ::org::omg::PortableServer::POAManager
* m_manager
;
169 ::org::omg::PortableServer::ServantActivator
* servant_activator
;
170 ::org::omg::PortableServer::ServantLocator
* servant_locator
;
171 ::org::omg::PortableServer::Servant
* default_servant
;
173 JArray
< jbyte
> * m_poa_id
;
174 ::java::util::HashSet
* m_policies
;
175 public: // actually package-private
176 JArray
< ::org::omg::CORBA::Policy
* > * s_policies
;
177 ::gnu::CORBA::Poa::ORB_1_4
* m_orb
;
178 jboolean m_inDestruction
;
180 jboolean retain_servant
;
181 public: // actually package-private
182 ::org::omg::PortableInterceptor::ObjectReferenceFactory
* m_object_factory
;
184 static ::java::lang::Class
class$
;
187 #endif // __gnu_CORBA_Poa_gnuPOA__