|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.oaext.as.BusinessActivityPublisher
public final class BusinessActivityPublisher
This class is responsible for publishing business events as WC Activities to ActivityStreaming service. This is a singleton per J2EE application. An instance of this object is obtained using getInstance() method. This class transforms business events into Activities and publishes them to Activity Service asynchronously. Resources held by the class are released by using release() method. In J2EE container, release is done by ApplCore when the App is undeployed or stopped.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_APP_NAME
|
static BusinessActivity |
KILLTHREAD
|
Method Summary | |
---|---|
java.lang.String |
getApplicationName()
|
static BusinessActivityPublisher |
getInstance()
Returns and instance of BusinessActivityPublisher if one exists or creates anew one. |
void |
publishActivity(BusinessActivity activity)
Queues the Activity for publishing. |
void |
release()
Should be called during App undeploy to stop the publisher thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String DEFAULT_APP_NAME
public static BusinessActivity KILLTHREAD
Method Detail |
---|
public static BusinessActivityPublisher getInstance()
public void publishActivity(BusinessActivity activity)
activity
- public void release()
public java.lang.String getApplicationName()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.2) E22562-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |