@Override
    public void handleContextRefreshedEvent(final ContextRefreshedEvent event) {
        val manager = event.getApplicationContext().getBean(ServicesManager.BEAN_NAME, ServicesManager.class);
        manager.load();
    }
This is {@link DefaultRegisteredServicesEventListener}.

@author Misagh Moayyed
@since 5.1.0
core/cas-server-core-services-api/src/main/java/org/apereo/cas/services/DefaultRegisteredServicesEventListener.java