|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.server.JboMultiCaster
Implements the chaining of event listeners in the event system.
Each instance of this class contains an event listener and a pointer to the next instance. Sets of listeners are implemented as linked lists.
This class is used by the JDeveloper wizards to implement event publishing logic.
Field Summary | |
protected JboEventListener |
a
|
protected JboEventListener |
b
|
Constructor Summary | |
protected |
JboMultiCaster(JboEventListener a,
JboEventListener b)
A new instance of this class can only be constructed by this class itself. |
Method Summary | |
static JboEventListener |
add(JboEventListener a,
JboEventListener b)
Adds a listener to the end of a list of listeners. |
protected static JboEventListener |
addInternal(JboEventListener a,
JboEventListener b)
|
void |
JboEvent(JboEventObject e)
Transmits an event to all the listeners in this list. |
protected JboEventListener |
remove(JboEventListener oldl)
|
static JboEventListener |
remove(JboEventListener l,
JboEventListener oldl)
Remove a listener from a list of listeners. |
protected static JboEventListener |
removeInternal(JboEventListener a,
JboEventListener b)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected JboEventListener a
protected JboEventListener b
Constructor Detail |
protected JboMultiCaster(JboEventListener a, JboEventListener b)
Method Detail |
public static JboEventListener add(JboEventListener a, JboEventListener b)
a
- a listener or a list of listeners.b
- a listener.
public static JboEventListener remove(JboEventListener l, JboEventListener oldl)
l
- a listener or list of listeners.
public void JboEvent(JboEventObject e)
JboEvent
in interface JboEventListener
e
- the event to be transmitted.protected static JboEventListener addInternal(JboEventListener a, JboEventListener b)
protected static JboEventListener removeInternal(JboEventListener a, JboEventListener b)
protected JboEventListener remove(JboEventListener oldl)
|
Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.