public class ResourceContentEventListener
extends java.lang.Object
implements com.ibm.commerce.event.WCSEventListener
Constructor and Description |
---|
ResourceContentEventListener()
This is the default constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isTransactionRequired()
This method returns when a
transaction is required.
|
void |
processActivityEvent(com.ibm.commerce.event.WCSEvent ae)
This method processes the event.
|
public ResourceContentEventListener()
public boolean isTransactionRequired()
isTransactionRequired
in interface com.ibm.commerce.event.WCSEventListener
true
.public void processActivityEvent(com.ibm.commerce.event.WCSEvent ae) throws ECException
ContentContextEventData
.
Only events that have this type of data will be processed. When the event is received, the appropriate action will be performed
by the managed resource container manager. This action depends on the event type (create, promote, or cancel).processActivityEvent
in interface com.ibm.commerce.event.WCSEventListener
ae
- The event being raised.ECException
- This is thrown if there is a problem processing the event. All exceptions raised by the
managed resource container manager are resource exceptions. This will be wrapped and rethrown as
ECSystemException
s.