diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/LWFT/IOR_Interceptor.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/LWFT/IOR_Interceptor.cpp | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/LWFT/IOR_Interceptor.cpp b/TAO/orbsvcs/orbsvcs/LWFT/IOR_Interceptor.cpp new file mode 100644 index 00000000000..caef2db61ca --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/LWFT/IOR_Interceptor.cpp @@ -0,0 +1,66 @@ +// -*- C++ -*- +// $Id$ + +#include "IOR_Interceptor.h" +#include "ObjectReferenceFactory.h" +#include "tao/ORB_Constants.h" + +ACE_RCSID (Hello, + IOR_Interceptor, + "$Id$") + +IOR_Interceptor::IOR_Interceptor (void) +{ +} + +char * +IOR_Interceptor::name (void) +{ + return CORBA::string_dup ("IOR_Interceptor"); +} + +void +IOR_Interceptor::destroy (void) +{ +} + +void +IOR_Interceptor::establish_components ( + PortableInterceptor::IORInfo_ptr /* info */) +{ +} + +void +IOR_Interceptor::components_established ( + PortableInterceptor::IORInfo_ptr info) +{ + PortableInterceptor::ObjectReferenceFactory_var old_orf = + info->current_factory (); + + PortableInterceptor::ObjectReferenceFactory * tmp; + ACE_NEW_THROW_EX (tmp, + ObjectReferenceFactory (old_orf.in ()), + CORBA::NO_MEMORY ( + CORBA::SystemException::_tao_minor_code ( + TAO::VMCID, + ENOMEM), + CORBA::COMPLETED_NO)); + + PortableInterceptor::ObjectReferenceFactory_var orf = tmp; + + info->current_factory (orf.in ()); +} + +void +IOR_Interceptor::adapter_manager_state_changed ( + const char *, + PortableInterceptor::AdapterState) +{ +} + +void +IOR_Interceptor:: adapter_state_changed ( + const PortableInterceptor::ObjectReferenceTemplateSeq &, + PortableInterceptor::AdapterState) +{ +} |