#include <Adapter_Activator.h>
Inheritance diagram for TAO::Portable_Server::Adapter_Activator:


Public Member Functions | |
| Adapter_Activator (PortableServer::POAManager_ptr poa_manager) | |
| CORBA::Boolean | unknown_adapter (PortableServer::POA_ptr parent, const char *name) |
Protected Attributes | |
| PortableServer::POAManager_var | poa_manager_ |
| POA Manager. | |
|
|
Definition at line 22 of file Adapter_Activator.cpp. References PortableServer::POAManager_ptr.
00024 : poa_manager_ (PortableServer::POAManager::_duplicate (pm)) 00025 { 00026 } |
|
||||||||||||
|
Definition at line 29 of file Adapter_Activator.cpp. References PortableServer::POA::create_POA(), PortableServer::POA_ptr, and PortableServer::POA_var.
00031 {
00032 // Default policies
00033 CORBA::PolicyList default_policies;
00034
00035 // This assumes that the lock on the parent is recursive
00036 PortableServer::POA_var child =
00037 parent->create_POA (name,
00038 this->poa_manager_.in (),
00039 default_policies);
00040
00041 try
00042 {
00043 child->the_activator (this);
00044 }
00045 catch (const ::CORBA::Exception&)
00046 {
00047 (void) child->destroy (1, 1);
00048
00049 return false;
00050 }
00051
00052 // Finally everything is fine
00053 return true;
00054 }
|
|
|
POA Manager.
Definition at line 52 of file Adapter_Activator.h. |
1.3.6