Could you elaborate your question?
I'm not sure I totally get it, but I'll try anyway.
So you want to write a custom implementation of a MongoRepository:
- implement yourself custom methods
- use @Inject annotations and regular spring tooling in your implementation
- let spring-data implement everything else
Let me know if I got it wrong!