@Audit(action = AuditableActions.SAVE_SERVICE,
        actionResolverName = AuditActionResolvers.SAVE_SERVICE_ACTION_RESOLVER,
        resourceResolverName = AuditResourceResolvers.SAVE_SERVICE_RESOURCE_RESOLVER)
    @Override
    public RegisteredService save(final RegisteredService registeredService, final boolean publishEvent) {
        val manager = findServicesManager(registeredService);
        return manager.map(servicesManager -> servicesManager.save(registeredService, publishEvent)).orElse(null);
    }
This is {@link DefaultChainingServicesManager}.

@author Misagh Moayyed
@since 6.2.0
core/cas-server-core-services-registry/src/main/java/org/apereo/cas/services/mgmt/DefaultChainingServicesManager.java