Class TrackingContext
- java.lang.Object
-
- com.adgadev.jplusone.core.tracking.TrackingContext
-
- All Implemented Interfaces:
java.util.EventListener
,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
public class TrackingContext extends java.lang.Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
-
Constructor Summary
Constructors Constructor Description TrackingContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disableRecording()
void
enableRecording()
boolean
isRecordingEnabled()
void
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
-
-
-
Method Detail
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
enableRecording
public void enableRecording()
-
disableRecording
public void disableRecording()
-
isRecordingEnabled
public boolean isRecordingEnabled()
-
-