How are you then supposed to register the observer methods of such a bean then, including injection and so on. afterBeanDiscovery.addObserverMethod() seems not to be the right way as you have to implement the callback yourself.