00001 // $Id: ESF_Shutdown_Proxy.cpp 90386 2010-06-02 13:52:08Z vzykov $ 00002 00003 #ifndef TAO_ESF_SHUTDOWN_PROXY_CPP 00004 #define TAO_ESF_SHUTDOWN_PROXY_CPP 00005 00006 #include "orbsvcs/ESF/ESF_Shutdown_Proxy.h" 00007 #include "tao/Exception.h" 00008 #include "ace/CORBA_macros.h" 00009 00010 #if ! defined (__ACE_INLINE__) 00011 #include "orbsvcs/ESF/ESF_Shutdown_Proxy.inl" 00012 #endif /* __ACE_INLINE__ */ 00013 00014 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00015 00016 template<class PROXY> void 00017 TAO_ESF_Shutdown_Proxy<PROXY>::work (PROXY *proxy) 00018 { 00019 try 00020 { 00021 proxy->shutdown (); 00022 } 00023 catch (const CORBA::Exception&) 00024 { 00025 // Do not propagate any exceptions 00026 } 00027 } 00028 00029 TAO_END_VERSIONED_NAMESPACE_DECL 00030 00031 #endif /* TAO_ESF_SHUTDOWN_PROXY_CPP */