#include <Storable_Naming_Context_Activator.h>
Collaboration diagram for TAO_Storable_Naming_Context_Activator:

Public Member Functions | |
| TAO_Storable_Naming_Context_Activator (CORBA::ORB_ptr orb, TAO_Naming_Service_Persistence_Factory *factory, const ACE_TCHAR *persistence_directory, size_t context_size) | |
| virtual | ~TAO_Storable_Naming_Context_Activator () |
| virtual PortableServer::Servant | incarnate (const PortableServer::ObjectId &oid, PortableServer::POA_ptr poa) throw (CORBA::SystemException, PortableServer::ForwardRequest) |
| virtual void | etherealize (const PortableServer::ObjectId &oid, PortableServer::POA_ptr adapter, PortableServer::Servant servant, CORBA::Boolean cleanup_in_progress, CORBA::Boolean remaining_activations) throw (CORBA::SystemException) |
Private Attributes | |
| CORBA::ORB_ptr | orb_ |
| TAO_Naming_Service_Persistence_Factory * | factory_ |
| const ACE_TCHAR * | persistence_directory_ |
| size_t | context_size_ |
| TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Storable_Naming_Context_Activator::TAO_Storable_Naming_Context_Activator | ( | CORBA::ORB_ptr | orb, | |
| TAO_Naming_Service_Persistence_Factory * | factory, | |||
| const ACE_TCHAR * | persistence_directory, | |||
| size_t | context_size | |||
| ) |
The constructor takes arguments needed to create a TAO_Storable_Naming_Context and TAO_Naming_Context on demand.
| TAO_Storable_Naming_Context_Activator::~TAO_Storable_Naming_Context_Activator | ( | ) | [virtual] |
| void TAO_Storable_Naming_Context_Activator::etherealize | ( | const PortableServer::ObjectId & | oid, | |
| PortableServer::POA_ptr | adapter, | |||
| PortableServer::Servant | servant, | |||
| CORBA::Boolean | cleanup_in_progress, | |||
| CORBA::Boolean | remaining_activations | |||
| ) | throw (CORBA::SystemException) [virtual] |
Used by the POA to delete the servant created from a call to incarnate.
| PortableServer::Servant TAO_Storable_Naming_Context_Activator::incarnate | ( | const PortableServer::ObjectId & | oid, | |
| PortableServer::POA_ptr | poa | |||
| ) | throw (CORBA::SystemException, PortableServer::ForwardRequest) [virtual] |
Create a TAO_Storable_Naming_Context and TAO_Naming_Context on demand if a request to a naming context CORBA reference is made and the servant implementing this reference does not yet exist.
size_t TAO_Storable_Naming_Context_Activator::context_size_ [private] |
const ACE_TCHAR* TAO_Storable_Naming_Context_Activator::persistence_directory_ [private] |
1.4.6-4