Class TradeServiceTracker

java.lang.Object
edu.tufts.hrilab.gui.TradeServiceTracker

@Component public class TradeServiceTracker extends Object
  • Constructor Details

    • TradeServiceTracker

      public TradeServiceTracker()
  • Method Details

    • onApplicationEvent

      @EventListener(org.springframework.context.event.ContextRefreshedEvent.class) public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
      Initializes the tracker by setting up after service hooks for all TRADE services.
    • beforeServiceWrapper

      public void beforeServiceWrapper(Object[] args)
      A TRADE service method to be invoked before a service call for monitoring.
      Parameters:
      args - Arguments passed to the service call.
    • afterServiceWrapper

      public void afterServiceWrapper(Object[] args)
      A TRADE service method to be invoked after a service call for monitoring.
      Parameters:
      args - Arguments passed to the service call.