|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EventDispatcher
A EventDispatcherImpl implements this interface This class helps in dispatching the event.
EventDispatcherImpl
Method Summary | |
---|---|
void |
addDynamicEventSubscription(java.lang.String containerName) |
void |
dispatchEvent(java.util.ArrayList eventsDefsToHandle, Event eventObject, java.lang.String qualifiedProducerName) dispatchEvent this method starts dispatching the event to the current bindingcontainer and then to its parent |
void |
dispatchEventForWildCards(java.util.ArrayList eventsDefsToHandle, Event eventObject) |
void |
fireEvent(EventProducer producer, java.lang.Object payload) fireEvent starting point for the events to get propogated |
void |
fireEvent(EventProducer producer, java.lang.Object payload, EventDefinition[] eventDefs) fireEvent starting point for the events to get propogated |
java.util.List<java.lang.String> |
getDynamicEventSubscriptionList() |
EventNameResolver |
getEventNameResolver() getEventNameResolver Returns the EventNameResolver which EventDispatcherImpl has |
EventConsumer |
getRegisteredEventConsumer(java.lang.String consumerName) getRegisteredEventConsumer used to get any consumer which is registered with EventHandler |
boolean |
hasDynamicEventSubscription(java.lang.String name) |
void |
processContextualEvents() processContextualEvents used to propagate queued events |
void |
queueEvent(EventProducer producer, java.lang.Object payLoad) queueEvent queues up the event to be processed |
void |
registerEventConsumer(EventConsumer consumer) registerEventConsumer used to register any consumer with EventHandler |
void |
setEventNameResolver(EventNameResolver eventNameResolver) setEventNameResolver sets the EventNameResolver to this EventDispatcherImpl |
void |
unRegisterEventConsumer(EventConsumer consumer) unRegisterEventConsumer used to unregister any consumer with EventHandler |
Method Detail |
---|
void fireEvent(EventProducer producer, java.lang.Object payload)
producer
- EventProducerpayload
- Object Payloadvoid fireEvent(EventProducer producer, java.lang.Object payload, EventDefinition[] eventDefs)
producer
- EventProducerpayload
- ObjecteventDefs
- EventDefinition arrayvoid dispatchEvent(java.util.ArrayList eventsDefsToHandle, Event eventObject, java.lang.String qualifiedProducerName)
eventsDefsToHandle
- ArrayList list of eventDef's to be handledeventObject
- Event ObjectqualifiedProducerName
- String has the qualified name of the ProducerEventNameResolver getEventNameResolver()
void setEventNameResolver(EventNameResolver eventNameResolver)
eventNameResolver
- EventNameResolvervoid registerEventConsumer(EventConsumer consumer)
consumer
- EventConsumervoid unRegisterEventConsumer(EventConsumer consumer)
consumer
- EventConsumerEventConsumer getRegisteredEventConsumer(java.lang.String consumerName)
consumerName
- Stringvoid processContextualEvents()
void queueEvent(EventProducer producer, java.lang.Object payLoad)
producer
- EventProducerpayLoad
- Object Payloadvoid dispatchEventForWildCards(java.util.ArrayList eventsDefsToHandle, Event eventObject)
java.util.List<java.lang.String> getDynamicEventSubscriptionList()
void addDynamicEventSubscription(java.lang.String containerName)
boolean hasDynamicEventSubscription(java.lang.String name)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |