code: public void registerArtefactHandler(ArtefactHandler handler) {
          GrailsApplicationAwareBeanPostProcessor.processAwareInterfaces(this, handler);
          artefactHandlersByName.put(handler.getType(), handler);
          updateArtefactHandlers();
      }
docs: Registers a new ArtefactHandler that is responsible for identifying and managing a
  particular artefact type that is defined by some convention.
  
  @param handler The ArtefactHandler to regster