|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.oaext.osn.OsnSendRouter
public class OsnSendRouter
The OsnSendRouter contains the logic that will ensure that only one send to OSN will occur in a multi-eo scenario. The primary EO and each secondary EO will be registered with the router and which ever EO is commited first will call the sendToOsn API and will lock out all other EO's from sending even though each of them potentially will try and send as they have been committed.
Constructor Summary | |
---|---|
OsnSendRouter(OAEntityImpl primaryEO)
Default Constructor. |
Method Summary | |
---|---|
void |
addSecondaryEO(OAEntityImpl secondaryEO)
Add a secondary EO to the list of entities that can route a send to OSN via the primary EO. |
void |
sendToOsn(OAEntityImpl triggeringEntity,
byte preCommitEntityState,
byte preCommitPostState)
Route a send to OSN via the primary EO. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OsnSendRouter(OAEntityImpl primaryEO)
primaryEO
- the EO to be used when making requests to send to OSN. Primary EO must not be null.Method Detail |
---|
public void addSecondaryEO(OAEntityImpl secondaryEO)
secondaryEO
- the secondary EO to regisiter.public void sendToOsn(OAEntityImpl triggeringEntity, byte preCommitEntityState, byte preCommitPostState)
triggeringEntity
- the entity that is triggering the send to OSN.preCommitEntityState
- the state the entity was in before the final commit occurred.preCommitPostState
- the post state of the entity before the final commit occurred.
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |