|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.sessions.SessionEventManager
public class SessionEventManager
Purpose: Used to support session events. To register for events notification an event listener must be registered with the session.
Session.getEventManager()
,
SessionEvent
,
Serialized FormConstructor Summary | |
---|---|
SessionEventManager(Session session)
Create a new session event manager for a session |
Method Summary | |
---|---|
void |
addListener(SessionEventListener listener)
Add the event listener to the session. |
java.util.Vector |
getListeners()
The event listners will receive all events raised by this session. |
boolean |
hasListeners()
Check if there are any event listeners. |
void |
removeListener(SessionEventListener listener)
Remove the event listener from the session. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionEventManager(Session session)
Method Detail |
---|
public void addListener(SessionEventListener listener)
public java.util.Vector getListeners()
public boolean hasListeners()
public void removeListener(SessionEventListener listener)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |