original_docstring: 
          Instantiates a component of the given factory with the given name and
          properties
          
docstring: Instantiates a component of the given factory with the given name and
  properties
docstring_tokens: Instantiates a component of the given factory with the given name and properties
code: def instantiate(self, session, factory, name, **properties):
          """
          Instantiates a component of the given factory with the given name and
          properties
          """
          try:
              self._ipopo.instantiate(factory, name, properties)
              session.write_line("Component '{0}' instantiated.", name)
              # Return the instance name as a result
              return name
          except ValueError as ex:
              session.write_line("Invalid parameter: {0}", ex)
          except TypeError as ex:
              session.write_line("Invalid factory: {0}", ex)
          except Exception as ex:
              session.write_line("Error instantiating the component: {0}", ex)
              _logger.exception("Error instantiating the component")
  
          # We're here if an exception occurred
          return False
code_tokens: def instantiate ( self , session , factory , name , ** properties ) : try : self . _ipopo . instantiate ( factory , name , properties ) session . write_line ( "Component '{0}' instantiated." , name ) return name except ValueError as ex : session . write_line ( "Invalid parameter: {0}" , ex ) except TypeError as ex : session . write_line ( "Invalid factory: {0}" , ex ) except Exception as ex : session . write_line ( "Error instantiating the component: {0}" , ex ) _logger . exception ( "Error instantiating the component" ) return False
short_docstring: Instantiates a component of the given factory with the given name and
  properties
short_docstring_tokens: Instantiates a component of the given factory with the given name and properties
comment: """
          Instantiates a component of the given factory with the given name and
          properties
          """$SEP$# Return the instance name as a result$SEP$# We're here if an exception occurred