| 1 |
756 |
jeremybenn |
|
| 2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
| 3 |
|
|
|
| 4 |
|
|
#ifndef __gnu_CORBA_Interceptor_Registrator__
|
| 5 |
|
|
#define __gnu_CORBA_Interceptor_Registrator__
|
| 6 |
|
|
|
| 7 |
|
|
#pragma interface
|
| 8 |
|
|
|
| 9 |
|
|
#include <org/omg/CORBA/LocalObject.h>
|
| 10 |
|
|
#include <gcj/array.h>
|
| 11 |
|
|
|
| 12 |
|
|
extern "Java"
|
| 13 |
|
|
{
|
| 14 |
|
|
namespace gnu
|
| 15 |
|
|
{
|
| 16 |
|
|
namespace CORBA
|
| 17 |
|
|
{
|
| 18 |
|
|
namespace Interceptor
|
| 19 |
|
|
{
|
| 20 |
|
|
class Registrator;
|
| 21 |
|
|
}
|
| 22 |
|
|
namespace Poa
|
| 23 |
|
|
{
|
| 24 |
|
|
class ORB_1_4;
|
| 25 |
|
|
}
|
| 26 |
|
|
class gnuCodecFactory;
|
| 27 |
|
|
}
|
| 28 |
|
|
}
|
| 29 |
|
|
namespace org
|
| 30 |
|
|
{
|
| 31 |
|
|
namespace omg
|
| 32 |
|
|
{
|
| 33 |
|
|
namespace CORBA
|
| 34 |
|
|
{
|
| 35 |
|
|
class Object;
|
| 36 |
|
|
}
|
| 37 |
|
|
namespace IOP
|
| 38 |
|
|
{
|
| 39 |
|
|
class CodecFactory;
|
| 40 |
|
|
}
|
| 41 |
|
|
namespace PortableInterceptor
|
| 42 |
|
|
{
|
| 43 |
|
|
class ClientRequestInterceptor;
|
| 44 |
|
|
class IORInterceptor;
|
| 45 |
|
|
class Interceptor;
|
| 46 |
|
|
class PolicyFactory;
|
| 47 |
|
|
class ServerRequestInterceptor;
|
| 48 |
|
|
}
|
| 49 |
|
|
}
|
| 50 |
|
|
}
|
| 51 |
|
|
}
|
| 52 |
|
|
|
| 53 |
|
|
class gnu::CORBA::Interceptor::Registrator : public ::org::omg::CORBA::LocalObject
|
| 54 |
|
|
{
|
| 55 |
|
|
|
| 56 |
|
|
public:
|
| 57 |
|
|
Registrator(::gnu::CORBA::Poa::ORB_1_4 *, ::java::util::Properties *, JArray< ::java::lang::String * > *);
|
| 58 |
|
|
private:
|
| 59 |
|
|
void checkProperties(::java::util::Properties *);
|
| 60 |
|
|
void checkFile(::java::lang::String *, ::java::lang::String *);
|
| 61 |
|
|
public:
|
| 62 |
|
|
virtual void pre_init();
|
| 63 |
|
|
virtual ::java::util::Map * getRegisteredReferences();
|
| 64 |
|
|
virtual void post_init();
|
| 65 |
|
|
virtual JArray< ::org::omg::PortableInterceptor::ServerRequestInterceptor * > * getServerRequestInterceptors();
|
| 66 |
|
|
virtual JArray< ::org::omg::PortableInterceptor::ClientRequestInterceptor * > * getClientRequestInterceptors();
|
| 67 |
|
|
virtual JArray< ::org::omg::PortableInterceptor::IORInterceptor * > * getIORInterceptors();
|
| 68 |
|
|
virtual void add_client_request_interceptor(::org::omg::PortableInterceptor::ClientRequestInterceptor *);
|
| 69 |
|
|
virtual void add_ior_interceptor(::org::omg::PortableInterceptor::IORInterceptor *);
|
| 70 |
|
|
virtual void add_server_request_interceptor(::org::omg::PortableInterceptor::ServerRequestInterceptor *);
|
| 71 |
|
|
virtual jint allocate_slot_id();
|
| 72 |
|
|
private:
|
| 73 |
|
|
void add(::java::util::ArrayList *, ::org::omg::PortableInterceptor::Interceptor *);
|
| 74 |
|
|
public:
|
| 75 |
|
|
virtual JArray< ::java::lang::String * > * arguments();
|
| 76 |
|
|
virtual ::org::omg::IOP::CodecFactory * codec_factory();
|
| 77 |
|
|
virtual ::java::lang::String * orb_id();
|
| 78 |
|
|
virtual void register_initial_reference(::java::lang::String *, ::org::omg::CORBA::Object *);
|
| 79 |
|
|
virtual void register_policy_factory(jint, ::org::omg::PortableInterceptor::PolicyFactory *);
|
| 80 |
|
|
virtual ::org::omg::CORBA::Object * resolve_initial_references(::java::lang::String *);
|
| 81 |
|
|
virtual jboolean hasClientRequestInterceptors();
|
| 82 |
|
|
virtual jboolean hasServerRequestInterceptors();
|
| 83 |
|
|
virtual jboolean hasIorInterceptors();
|
| 84 |
|
|
private:
|
| 85 |
|
|
static const jlong serialVersionUID = 1LL;
|
| 86 |
|
|
public:
|
| 87 |
|
|
static ::java::lang::String * m_prefix;
|
| 88 |
|
|
private:
|
| 89 |
|
|
::java::util::ArrayList * __attribute__((aligned(__alignof__( ::org::omg::CORBA::LocalObject)))) m_server;
|
| 90 |
|
|
::java::util::ArrayList * m_client;
|
| 91 |
|
|
::java::util::ArrayList * m_ior;
|
| 92 |
|
|
public:
|
| 93 |
|
|
::java::util::Hashtable * m_policyFactories;
|
| 94 |
|
|
::java::util::TreeMap * m_references;
|
| 95 |
|
|
::java::util::ArrayList * m_initializers;
|
| 96 |
|
|
public: // actually package-private
|
| 97 |
|
|
::gnu::CORBA::Poa::ORB_1_4 * orb;
|
| 98 |
|
|
JArray< ::java::lang::String * > * m_args;
|
| 99 |
|
|
::gnu::CORBA::gnuCodecFactory * m_codecFactory;
|
| 100 |
|
|
public:
|
| 101 |
|
|
static ::java::lang::Class class$;
|
| 102 |
|
|
};
|
| 103 |
|
|
|
| 104 |
|
|
#endif // __gnu_CORBA_Interceptor_Registrator__
|