|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OutputModule
Communicate results to other components. This could be done via request attributes, session attribute etc. Implementors should obey the transactional nature and e.g. queue values as request attributes and do the real communication e.g. to a bean only when the transaction completes successfully.
Field Summary | |
---|---|
static String |
ROLE
|
Method Summary | |
---|---|
void |
commit(Configuration modeConf,
Map objectModel)
Signal that the database transaction completed successfully. |
void |
rollback(Configuration modeConf,
Map objectModel,
Exception e)
If a database transaction needs to rollback, this is called to inform the further processing logic about this fact. |
void |
setAttribute(Configuration modeConf,
Map objectModel,
String name,
Object value)
communicate an attribute value to further processing logic. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
void setAttribute(Configuration modeConf, Map objectModel, String name, Object value)
modeConf
- column's mode configuration from resource
description. This argument is optional.objectModel
- The objectModelname
- The attribute's label, consisting of "table.column"
or "table.column[index]" in case of multiple attributes of the
same spec.value
- The attriute's value.void rollback(Configuration modeConf, Map objectModel, Exception e)
void commit(Configuration modeConf, Map objectModel)
rollback(Configuration, Map, Exception)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |