|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.server.EntityReplayItemPublisher
public class EntityReplayItemPublisher
Listens to events that are published on the NativeMobileServiceBus and collates their payloads. Then, at commit time, creates a replay item that will later be used to synchronize model changes back up to the server
Field Summary | |
---|---|
static java.lang.Class |
CLASS_INSTANCE
|
static java.lang.String |
DEFAULT_REPLAY_ITEM_SEQUENCE_NAME
|
static java.lang.String |
DEFAULT_REPLAY_ITEM_TABLE_NAME
|
static int |
DEFAULT_REPLAY_TYPE_ID
|
static java.lang.String |
DEFAULT_REPLAY_TYPE_NAME
|
static java.lang.String |
ENTITY_REPLAY_ITEM_XML_TAG
|
static java.lang.String |
TRS_DATABASE_ID
|
static java.lang.String |
TRS_PUBLICATION_NAME
|
static java.lang.String |
USE_TRS_KEY
|
Method Summary | |
---|---|
void |
afterCommit(TransactionEvent e)
Called to report that a Commit operation has occurred. |
void |
afterRemove(TransactionEvent e)
A cleanup routine to be invoked by transaction manager when this transaction listener is removed from the manager's list. |
void |
afterRollback(TransactionEvent e)
Called to report that a Rollback operation has occurred. |
void |
beforeCommit(TransactionEvent e)
Called to report that a Commit operation is imminent. |
void |
beforeRollback(TransactionEvent e)
Called to report that a Rollback operation is imminent. |
static ConnectionDetails |
getTrsDBConnectionDetails()
Gets the TRS database connection details and also creates them if necessary. |
boolean |
isTransientTransactionListener()
Tests whether this transaction listener is transient or permanent. |
static boolean |
isTrsLoggingEnabledForApp()
|
static boolean |
isTrsLoggingEnabledForEntity(java.lang.String entityDefName)
|
void |
onBusinessEventFired(EventInvocation invocation)
The NativeMobile Service Bus calls this method on all subscribers when a business event is raised. |
void |
onJavaEventFired(EventObject event)
The NativeMobile Service Bus calls this method on all subscribers when a Java event is raised |
static void |
setTrsLoggingEnabledForApp(boolean value)
|
static void |
setTrsLoggingEnabledForEntity(java.lang.String entityDefName,
boolean value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.Class CLASS_INSTANCE
public static final java.lang.String ENTITY_REPLAY_ITEM_XML_TAG
public static final int DEFAULT_REPLAY_TYPE_ID
public static final java.lang.String DEFAULT_REPLAY_TYPE_NAME
public static final java.lang.String TRS_DATABASE_ID
public static final java.lang.String USE_TRS_KEY
public static final java.lang.String DEFAULT_REPLAY_ITEM_SEQUENCE_NAME
public static final java.lang.String DEFAULT_REPLAY_ITEM_TABLE_NAME
public static final java.lang.String TRS_PUBLICATION_NAME
Method Detail |
---|
public static boolean isTrsLoggingEnabledForApp()
public static void setTrsLoggingEnabledForApp(boolean value)
public static void setTrsLoggingEnabledForEntity(java.lang.String entityDefName, boolean value)
public static boolean isTrsLoggingEnabledForEntity(java.lang.String entityDefName)
public void onBusinessEventFired(EventInvocation invocation)
NativeMobileServiceBusListener
onBusinessEventFired
in interface NativeMobileServiceBusListener
public void afterCommit(TransactionEvent e)
TransactionListener
afterCommit
in interface TransactionListener
e
- a transaction event.public void afterRemove(TransactionEvent e)
TransactionListener
afterRemove
in interface TransactionListener
e
- a transaction event.public void afterRollback(TransactionEvent e)
TransactionListener
afterRollback
in interface TransactionListener
e
- a transaction event.public void beforeCommit(TransactionEvent e)
TransactionListener
beforeCommit
in interface TransactionListener
e
- a transaction event.public void beforeRollback(TransactionEvent e)
TransactionListener
beforeRollback
in interface TransactionListener
e
- a transaction event.public boolean isTransientTransactionListener()
TransactionListener
Transient listeners are automatically removed at the end of a transaction commit or rollback cycle; permanent listeners remain across these cycles.
isTransientTransactionListener
in interface TransactionListener
true
if the listener is transient.public static ConnectionDetails getTrsDBConnectionDetails()
public void onJavaEventFired(EventObject event)
NativeMobileServiceBusListener
onJavaEventFired
in interface NativeMobileServiceBusListener
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |