code: def get_handlers(self, component_context, instance):
          
          # Extract information from the context
          requirements = component_context.get_handler(
              ipopo_constants.HANDLER_REQUIRES
          )
          requires_filters = component_context.properties.get(
              ipopo_constants.IPOPO_REQUIRES_FILTERS, None
          )
  
          # Prepare requirements
          requirements = self._prepare_requirements(
              requirements, requires_filters
          )
  
          # Set up the runtime dependency handlers
          handlers = []
          for field, requirement in requirements.items():
              # Construct the handler
              if requirement.aggregate:
                  handlers.append(AggregateDependency(field, requirement))
              else:
                  handlers.append(SimpleDependency(field, requirement))
  
          return handlers
docs: Sets up service providers for the given component
  
          :param component_context: The ComponentContext bean
          :param instance: The component instance
          :return: The list of handlers associated to the given component