[Java] Interface ListenerRegistry