public void registerTemplate(String className,Class template){
  templates.put(className,new InjectionTemplate(template.getName()));
}

public void registerTemplate ( String className , Class template ) { templates . put ( className , new InjectionTemplate ( template . getName ( ) ) ) ; }
registers a class to be injected by a default interface
