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

public abstract class BaseService<T> extends Object
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 Details

  • Constructor Details

    • BaseService

      protected BaseService(String path)
      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