|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.cabo.servlet.event.NullEventHandler
Implementation of a do-nothing EventHandler. This is useful for avoiding UnhandledEventExceptions in debugging code.
Constructor Summary | |
NullEventHandler()
|
Method Summary | |
EventResult |
handleEvent(BajaContext context,
Page page,
PageEvent event)
Handle an event. |
static EventHandler |
sharedInstance()
Returns a shared instance of this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NullEventHandler()
Method Detail |
public static EventHandler sharedInstance()
public EventResult handleEvent(BajaContext context, Page page, PageEvent event) throws java.lang.Throwable
EventHandler
EventResult
object that encapsulates the resulsts. If handleEvent()
returns null, the PageBroker
will simply redisplay
the same page. Otherwise, the result will be passed to the
PageFlowEngine
to determine the Page
to
render.
Note: while the Page
object is mutable, any calls
that set properties, etc., will be ignored unless the Page
is itself returned inside the EventResult
.
handleEvent
in interface EventHandler
oracle.cabo.servlet.event.EventHandler
context
- the BajaContextpage
- the page the client is requestingevent
- the event on that page, or null if the client
is just requesting a page displayjava.lang.Throwable
- if any processing of the event fails
|
Oracle UIX API Reference Release 2.1.22.0.0 B12196-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |