public abstract class PersistenceListener extends java.lang.Object implements MappedItemListener
However, if this
is insufficient, build your own by extending this class.
Constructor and Description |
---|
PersistenceListener() |
Modifier and Type | Method and Description |
---|---|
void |
handleItem(ItemResponse mo) |
abstract void |
persistItem(ItemResponse persistibleData)
Implement your persistence logic here.
|
public void handleItem(ItemResponse mo) throws java.lang.Exception
handleItem
in interface MappedItemListener
java.lang.Exception
public abstract void persistItem(ItemResponse persistibleData) throws java.lang.Exception
persistibleData
- The item response should have all the POJOs to be persisted in getBoundObjects()
assuming it went through the binding phase successfully.java.lang.Exception