SAP Hybris spring configuration is done using XML. You can check below link for more details:
https://help.hybris.com/6.3.0/hcd/8c63621986691014a7e0a18695d7d410.html