Unfortunately I am not spring expert but I believe that should work:
- create bean that is your UserGroupCallback implelemtation
- create instance of UserGroupCallbackManager ( like factory with static method)
- set callback filed of the manager with your custom usergroupcallback bean
If that will not work, you could try just build your custom UserGroupCallback class that internally will get instance of the manager and register itself.
HTH