Class PerformanceMonitorAccessor

java.lang.Object
de.uplanet.lucy.server.monitor.performance.PerformanceMonitorAccessor

@Scriptable @SpringBeanAccessor public final class PerformanceMonitorAccessor extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static de.uplanet.lucy.server.monitor.performance.IPerformanceMonitorBean
    Get the performanceMonitor bean.
    static boolean
    Check if the performanceMonitor bean is defined.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • isAvailable

      public static boolean isAvailable()
      Check if the performanceMonitor bean is defined.
      Returns:
      true if the bean is defined, or false otherwise.
      Throws:
      org.springframework.beans.factory.BeanNotOfRequiredTypeException - If the bean is not of the required type.
      org.springframework.beans.BeansException - If the bean could not be created.
    • getInstance

      public static de.uplanet.lucy.server.monitor.performance.IPerformanceMonitorBean getInstance() throws org.springframework.beans.BeansException
      Get the performanceMonitor bean.
      Returns:
      The bean.
      Throws:
      org.springframework.beans.factory.NoSuchBeanDefinitionException - If the bean quartzScheduler is not defined.
      org.springframework.beans.factory.BeanNotOfRequiredTypeException - If the bean is not of the required type.
      org.springframework.beans.BeansException - If the bean could not be created.