Class Aca

java.lang.Object
cz.fidentis.analyst.data.face.Aca

@Service public class Aca extends Object
A singleton class that provides access to the Spring application context. This class is used to retrieve beans from the application context.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Aca(org.springframework.context.ApplicationContext context)
    Constructor that initializes the Aca instance with the provided application context.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    getBean(Class<T> clazz)
    Retrieves a bean of the specified class from the application context.
    static Aca
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Aca

      public Aca(org.springframework.context.ApplicationContext context)
      Constructor that initializes the Aca instance with the provided application context.
      Parameters:
      context - The Spring application context.
  • Method Details

    • getInstance

      public static Aca getInstance()
    • getBean

      public <T> T getBean(Class<T> clazz)
      Retrieves a bean of the specified class from the application context.
      Type Parameters:
      T - The type of the bean.
      Parameters:
      clazz - The class of the bean to retrieve.
      Returns:
      An instance of the specified bean type.