diff options
Diffstat (limited to 'TAO/orbsvcs/IFR_Service/ComponentRepository_i.cpp')
-rw-r--r-- | TAO/orbsvcs/IFR_Service/ComponentRepository_i.cpp | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/TAO/orbsvcs/IFR_Service/ComponentRepository_i.cpp b/TAO/orbsvcs/IFR_Service/ComponentRepository_i.cpp new file mode 100644 index 00000000000..cbaeaae6da6 --- /dev/null +++ b/TAO/orbsvcs/IFR_Service/ComponentRepository_i.cpp @@ -0,0 +1,97 @@ +/* -*- C++ -*- */ +// $Id$ + +#include "ComponentRepository_i.h" + +ACE_RCSID(IFR_Service, ComponentRepository_i, "$Id$") + +TAO_ComponentRepository_i::TAO_ComponentRepository_i ( + CORBA::ORB_ptr orb, + PortableServer::POA_ptr poa, + ACE_Configuration *config + ) + : TAO_IRObject_i (0, ACE_Configuration_Section_Key ()), + TAO_Container_i (0, ACE_Configuration_Section_Key ()), + TAO_Repository_i (orb, poa, config) +{ +} + +TAO_ComponentRepository_i::~TAO_ComponentRepository_i (void) +{ +} + +IR::ComponentDef_ptr +TAO_ComponentRepository_i::create_component ( + const char *id, + const char *name, + const char *version, + IR::ComponentDef_ptr base_component, + const CORBA_InterfaceDefSeq & supports_interfaces + ACE_ENV_ARG_DECL + ) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + TAO_IFR_WRITE_GUARD_RETURN (IR::ComponentDef::_nil ()); + + return this->create_component_i (id, + name, + version, + base_component, + supports_interfaces + ACE_ENV_ARG_PARAMETER); +} + +IR::ComponentDef_ptr +TAO_ComponentRepository_i::create_component_i ( + const char * /* id */, + const char * /* name */, + const char * /* version */, + IR::ComponentDef_ptr /* base_component */, + const CORBA_InterfaceDefSeq & /* supports_interfaces */ + ACE_ENV_ARG_DECL_NOT_USED /* ACE_ENV_SINGLE_ARG_PARAMETER */ + ) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + // TODO + return 0; +} + +IR::HomeDef_ptr +TAO_ComponentRepository_i::create_home ( + const char *id, + const char *name, + const char *version, + IR::HomeDef_ptr base_component, + IR::ComponentDef_ptr managed_component, + CORBA_ValueDef_ptr primary_key + ACE_ENV_ARG_DECL + ) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + TAO_IFR_WRITE_GUARD_RETURN (IR::HomeDef::_nil ()); + + return this->create_home_i (id, + name, + version, + base_component, + managed_component, + primary_key + ACE_ENV_ARG_PARAMETER); +} + +IR::HomeDef_ptr +TAO_ComponentRepository_i::create_home_i ( + const char * /* id */, + const char * /* name */, + const char * /* version */, + IR::HomeDef_ptr /* base_component */, + IR::ComponentDef_ptr /* managed_component */, + CORBA_ValueDef_ptr /* primary_key */ + ACE_ENV_ARG_DECL_NOT_USED /* ACE_ENV_SINGLE_ARG_PARAMETER */ + ) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + // TODO + return 0; +} + |