Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.4.0)

E27204-03


oracle.adfmf.framework.event
Class EventSourceFactory

java.lang.Object
  extended by oracle.adfmf.framework.event.EventSourceFactory


public class EventSourceFactory
extends java.lang.Object

Factory for dealing with Event Source objects.


Field Summary
static java.lang.String NATIVE_PUSH_NOTIFICATION_REMOTE_EVENT_SOURCE_NAME
           
static java.lang.String OPEN_URL_EVENT_SOURCE_NAME
           

 

Constructor Summary
EventSourceFactory()
           

 

Method Summary
static EventSource getEventSource(java.lang.String name)
          Get event source for a given name
static java.util.List getEventSourceNames()
          Get names of all event sources
static void registerEventSource(java.lang.String eventSourceName, java.lang.Class eventSourceClass)
          Register an event source
static void registerEventSource(java.lang.String eventSourceName, EventSource eventSource)
          Register an event source

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

OPEN_URL_EVENT_SOURCE_NAME

public static final java.lang.String OPEN_URL_EVENT_SOURCE_NAME
See Also:
Constant Field Values

NATIVE_PUSH_NOTIFICATION_REMOTE_EVENT_SOURCE_NAME

public static final java.lang.String NATIVE_PUSH_NOTIFICATION_REMOTE_EVENT_SOURCE_NAME
See Also:
Constant Field Values

Constructor Detail

EventSourceFactory

public EventSourceFactory()

Method Detail

getEventSource

public static EventSource getEventSource(java.lang.String name)
Get event source for a given name
Parameters:
name - name of the event source
Returns:
event source

registerEventSource

public static void registerEventSource(java.lang.String eventSourceName,
                                       EventSource eventSource)
Register an event source
Parameters:
eventSourceName - Name of the event source
eventSource - the event source object

registerEventSource

public static void registerEventSource(java.lang.String eventSourceName,
                                       java.lang.Class eventSourceClass)
Register an event source
Parameters:
eventSourceName - Name of the event source
eventSourceClass - Class representing event source object

getEventSourceNames

public static java.util.List getEventSourceNames()
Get names of all event sources
Returns:
a list of event source names

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile
11g Release 2 (11.1.2.4.0)

E27204-03


Copyright © 2012, 2013 Oracle. All Rights Reserved.