|
Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework 2.0.0.0.0 E36392-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectoracle.adfmf.framework.event.EventSourceFactory
public class EventSourceFactory
Factory for dealing with event sources.
EventSource| Field Summary | |
|---|---|
static String |
CACHE_EVENT_SOURCE_NAME
cache event source name |
static String |
NATIVE_PUSH_NOTIFICATION_REMOTE_EVENT_SOURCE_NAME
native push notification event source name |
static String |
OPEN_URL_EVENT_SOURCE_NAME
open url event source name |
| Constructor Summary | |
|---|---|
EventSourceFactory()
|
|
| Method Summary | |
|---|---|
static EventSource |
getEventSource(String name)
Get event source for a given name |
static java.util.List |
getEventSourceNames()
Get names of all registered event sources |
static void |
registerEventSource(String eventSourceName,
Class eventSourceClass)
Register an event source |
static void |
registerEventSource(String eventSourceName,
EventSource eventSource)
Register an event source |
static void |
unregisterEventSource(String name)
Un-register an event source |
| Methods inherited from class Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OPEN_URL_EVENT_SOURCE_NAME
public static final String NATIVE_PUSH_NOTIFICATION_REMOTE_EVENT_SOURCE_NAME
public static final String CACHE_EVENT_SOURCE_NAME
| Constructor Detail |
|---|
public EventSourceFactory()
| Method Detail |
|---|
public static EventSource getEventSource(String name)
name - name of the event source
public static void registerEventSource(String eventSourceName,
EventSource eventSource)
eventSourceName - name of the event sourceeventSource - the event source object
public static void registerEventSource(String eventSourceName,
Class eventSourceClass)
eventSourceName - name of the event sourceeventSourceClass - class representing event source objectpublic static java.util.List getEventSourceNames()
public static void unregisterEventSource(String name)
name - name of the event source that needs to be unregistered
|
Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework 2.0.0.0.0 E36392-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||