Package edu.tufts.hrilab.gui
Class TradeServiceTracker
java.lang.Object
edu.tufts.hrilab.gui.TradeServiceTracker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterServiceWrapper(Object[] args) A TRADE service method to be invoked after a service call for monitoring.voidbeforeServiceWrapper(Object[] args) A TRADE service method to be invoked before a service call for monitoring.voidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) Initializes the tracker by setting up after service hooks for all TRADE services.
-
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
A TRADE service method to be invoked before a service call for monitoring.- Parameters:
args- Arguments passed to the service call.
-
afterServiceWrapper
A TRADE service method to be invoked after a service call for monitoring.- Parameters:
args- Arguments passed to the service call.
-