public class PAStatsInvocationEventListener extends EventComponent implements com.ibm.commerce.event.WCSEventListener, com.ibm.commerce.server.ComponentConfiguration
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
| Constructor and Description |
|---|
PAStatsInvocationEventListener()
Constructor for PAStatsInvocationEventListener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
This method is used to destroy this event listener.
|
void |
enable(boolean val)
This method is used to enable or disable this event listener.
|
void |
init(org.w3c.dom.Element node)
Initializes this event listener, using the component attributes provided in the method parameter.
|
boolean |
isTransactionRequired()
Returns the flag that determines whether a transaction is required or not.
|
void |
processActivityEvent(com.ibm.commerce.event.WCSEvent event)
Processes the activity by persisting the event data.
|
isComponentEnabledpublic static final java.lang.String COPYRIGHT
public PAStatsInvocationEventListener()
public void destroy()
destroy in interface com.ibm.commerce.server.ComponentConfigurationpublic void enable(boolean val)
throws java.lang.Exception
enable in interface com.ibm.commerce.server.ComponentConfigurationval - true if this listener needs to be enabled; false otherwise.java.lang.Exception - Thrown when an error occurs while enabling/disabling this listener.public void init(org.w3c.dom.Element node)
throws java.lang.Exception
init in interface com.ibm.commerce.server.ComponentConfigurationnode - the element object that contains detail of the componentjava.lang.Exception - Thrown when an error occurs while initializing this listener.public boolean isTransactionRequired()
isTransactionRequired in interface com.ibm.commerce.event.WCSEventListenerpublic void processActivityEvent(com.ibm.commerce.event.WCSEvent event)
throws com.ibm.commerce.exception.ECException
processActivityEvent in interface com.ibm.commerce.event.WCSEventListenerevent - the WCS event objectECException - Thrown when an EC system exception occurs during the process of the event.