public class ExperimentLoggingECEventListenerImpl
extends com.ibm.commerce.event.impl.AbstractECEventListener
When customizing the experiment statistics, this class needs to be extended
to persist the customer's actions to the EXPLOG logging table by doing the following:
ExperimentLoggingECEventListenerImpl
and override the method
void processExperimentLoggingEvent(ExperimentLoggingDataBean)
to update
the EXPSTATS and EXPLOG tables.ExperimentLoggingECEventListenerImpl
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ExperimentLoggingECEventListenerImpl()
Creates an instance of the experiment logging event listener.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getECEventContainer()
This method returns the class
ExperimentLoggingEventContainer as the event container. |
java.util.Set |
getEvents()
This method returns a set containing the extension name for the experiment logging event.
|
void |
processEvent(CommonBaseEvent commonBaseEvent)
This method processes experiment logging common base events.
|
void |
setTestData(ExperimentLoggingDataBean expId)
Reserved for IBM internal use.
|
public static final java.lang.String COPYRIGHT
public ExperimentLoggingECEventListenerImpl()
public java.lang.Class getECEventContainer()
ExperimentLoggingEventContainer
as the event container.getECEventContainer
in class com.ibm.commerce.event.impl.AbstractECEventListener
ExperimentLoggingEventContainer
class.AbstractECEventListener.getECEventContainer()
public java.util.Set getEvents()
getEvents
in class com.ibm.commerce.event.impl.AbstractECEventListener
ExperimentLogging
event extension name.AbstractECEventListener.getEvents()
public void processEvent(CommonBaseEvent commonBaseEvent)
processEvent
in class com.ibm.commerce.event.impl.AbstractECEventListener
commonBaseEvent
- The common base event to process.processExperimentLoggingEvent(CommonBaseEvent)
,
AbstractECEventListener.processEvent(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent)
public void setTestData(ExperimentLoggingDataBean expId)
expId
- Reserved for IBM internal use.