/* -*- C++ -*- */ // $Id$ // ============================================================================ // // = LIBRARY // TAO/orbsvcs/IFR_Service // // = FILENAME // ComponentRepository_i.h // // = DESCRIPTION // IR_ComponentRepository servant class. // // = AUTHOR // Jeff Parsons // // ============================================================================ #ifndef TAO_COMPONENTREPOSITORY_I_H #define TAO_COMPONENTREPOSITORY_I_H #include "Repository_i.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ #if defined(_MSC_VER) #if (_MSC_VER >= 1200) #pragma warning(push) #endif /* _MSC_VER >= 1200 */ #pragma warning(disable:4250) #endif /* _MSC_VER */ class TAO_ComponentRepository_i : public TAO_Repository_i { // = TITLE // TAO_ComponentRepository_i // // = DESCRIPTION // Provides global access to the Interface Repository, // including access to information related to // CORBA Components. // public: TAO_ComponentRepository_i (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, ACE_Configuration *config); // Constructor. virtual ~TAO_ComponentRepository_i (void); // Destructor. virtual IR_ComponentDef_ptr create_component ( const char *id, const char *name, const char *version, IR_ComponentDef_ptr base_component, const IR_InterfaceDefSeq & supports_interfaces, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment () ) ACE_THROW_SPEC ((CORBA::SystemException)); IR_ComponentDef_ptr create_component_i ( const char *id, const char *name, const char *version, IR_ComponentDef_ptr base_component, const IR_InterfaceDefSeq & supports_interfaces, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment () ) ACE_THROW_SPEC ((CORBA::SystemException)); virtual IR_HomeDef_ptr create_home ( const char *id, const char *name, const char *version, IR_HomeDef_ptr base_home, IR_ComponentDef_ptr managed_component, IR_ValueDef_ptr primary_key, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment () ) ACE_THROW_SPEC ((CORBA::SystemException)); IR_HomeDef_ptr create_home_i ( const char *id, const char *name, const char *version, IR_HomeDef_ptr base_home, IR_ComponentDef_ptr managed_component, IR_ValueDef_ptr primary_key, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment () ) ACE_THROW_SPEC ((CORBA::SystemException)); }; #if defined(_MSC_VER) && (_MSC_VER >= 1200) #pragma warning(pop) #endif /* _MSC_VER */ #endif /* TAO_COMPONENTREPOSITORY_I_H */