summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp
diff options
context:
space:
mode:
authorpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-01-16 22:26:55 +0000
committerpradeep <pradeep@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-01-16 22:26:55 +0000
commitfbf044a3b5ee56f8c888871165ef806651b90767 (patch)
tree88f6f230fd4d9ec9c714237c8e7fbd32920f6eea /TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp
parent9dbf45547867047371c4c89663c36165bc01a38c (diff)
downloadATCD-fbf044a3b5ee56f8c888871165ef806651b90767.tar.gz
ChangeLogTag: Thu Jan 16 17:24:30 2003 Pradeep Gore <pradeep@oomworks.com>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp b/TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp
index a7ca15ded36..45e0aa576d5 100644
--- a/TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp
+++ b/TAO/orbsvcs/orbsvcs/Notify/EventChannelFactory.cpp
@@ -61,6 +61,25 @@ TAO_NS_EventChannelFactory::get_default_filter_factory (ACE_ENV_SINGLE_ARG_DECL_
return CosNotifyFilter::FilterFactory::_duplicate (this->default_filter_factory_.in ());
}
+void
+TAO_NS_EventChannelFactory::destroy (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ))
+{
+ this->inherited::destroy (this ACE_ENV_ARG_PARAMETER);
+
+ TAO_NS_Properties* properties = TAO_NS_PROPERTIES::instance();
+
+ // Shutdown the ORB.
+ CORBA::ORB_var orb = properties->orb ();
+ orb->shutdown ();
+
+ // Reset references to CORBA objects.
+ properties->orb (CORBA::ORB::_nil ());
+ properties->default_poa (PortableServer::POA::_nil ());
+}
+
::CosNotifyChannelAdmin::EventChannel_ptr TAO_NS_EventChannelFactory::create_channel (
const CosNotification::QoSProperties & initial_qos,
const CosNotification::AdminProperties & initial_admin,