diff options
Diffstat (limited to 'TAO/tao/PortableServer/POA.i')
-rw-r--r-- | TAO/tao/PortableServer/POA.i | 31 |
1 files changed, 4 insertions, 27 deletions
diff --git a/TAO/tao/PortableServer/POA.i b/TAO/tao/PortableServer/POA.i index 9821fa6efb4..761d5d67c13 100644 --- a/TAO/tao/PortableServer/POA.i +++ b/TAO/tao/PortableServer/POA.i @@ -464,38 +464,15 @@ TAO_POA::adapter_name (ACE_ENV_SINGLE_ARG_DECL) } ACE_INLINE PortableInterceptor::ObjectReferenceTemplate * -TAO_POA::get_adapter_template (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)) -{ - if (this->ORT_adapter (ACE_ENV_SINGLE_ARG_PARAMETER)) - { - return this->ort_adapter_->get_adapter_template(); - } - - return 0; -} - -ACE_INLINE PortableInterceptor::ObjectReferenceTemplate * -TAO_POA::get_adapter_template_i () +TAO_POA::get_adapter_template () { - if (this->ORT_adapter_i ()) - { - return this->ort_adapter_->get_adapter_template (); - } - - return 0; + return this->ort_template_; } ACE_INLINE PortableInterceptor::ObjectReferenceFactory * -TAO_POA::get_obj_ref_factory (ACE_ENV_SINGLE_ARG_DECL) - ACE_THROW_SPEC ((CORBA::SystemException)) +TAO_POA::get_obj_ref_factory () { - if (this->ORT_adapter (ACE_ENV_SINGLE_ARG_PARAMETER)) - { - return this->ort_adapter_->get_obj_ref_factory(); - } - - return 0; + return this->obj_ref_factory_; } #if (TAO_HAS_MINIMUM_POA == 0) |