Package edu.ucsb.cs156.example.services
Class SystemInfoServiceImpl
java.lang.Object
edu.ucsb.cs156.example.services.SystemInfoService
edu.ucsb.cs156.example.services.SystemInfoServiceImpl
@Service("systemInfo")
@ConfigurationProperties
public class SystemInfoServiceImpl
extends SystemInfoService
This is a service for getting information about the system.
This class relies on property values. For hints on testing, see: https://www.baeldung.com/spring-boot-testing-configurationproperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the system information.
-
Constructor Details
-
SystemInfoServiceImpl
public SystemInfoServiceImpl()
-
-
Method Details
-
getSystemInfo
This method returns the system information.- Specified by:
getSystemInfo
in classSystemInfoService
- Returns:
- the system information
- See Also:
-