maybe using the getObject instead of get classes method and provide blueprint beans? that way at least u can inject other beans/services direclty