You can reference some implementations of UserGroupCallback at here .
To get which code will call the methods of the UserGroupCallback , you can highlight the interface method in eclipse , and the press "CTRL+G" to find out which codes will call that method
Thanks