integration refactoring

you say :  PersistentTokenRepository will implement TokenGenerationListener, and I ask, how will I understand that this should be implemented like that, because PersistentTokenRepository is in the bss classes not in the jar.
or maybe I do not understand you example.