Package com.example.common
Class BaseService<T>
java.lang.Object
com.example.common.BaseService<T>
- Type Parameters:
T
- the type of the service class
- Direct Known Subclasses:
BotService
,Service
The BaseService class is an abstract class that provides base functionality for service classes.
It loads properties from a specified file path using a Properties object.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
BaseService
(String path) Constructs a BaseService with the specified file path. -
Method Summary
-
Field Details
-
properties
-
-
Constructor Details
-
BaseService
Constructs a BaseService with the specified file path. Loads properties from the file using a Properties object.- Parameters:
path
- the file path to load properties from
-