Class MonitorHelper


  • public class MonitorHelper
    extends java.lang.Object
    This class is only used internally by MWT to instantiate monitor classes.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T getObject​(java.lang.Class<T> monitorType, java.lang.Class<?> injectedType, java.lang.String constant)
      Instantiates a monitor class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getObject

        public static <T> T getObject​(java.lang.Class<T> monitorType,
                                      java.lang.Class<?> injectedType,
                                      java.lang.String constant)
        Instantiates a monitor class.
        Type Parameters:
        T - the monitor type
        Parameters:
        monitorType - the monitor type
        injectedType - the type declared in the BON Constant
        constant - the name of the constant
        Returns:
        the created monitor instance