01: package net.sf.jmoney.model2;
02:
03: public interface CurrentSessionChangeListener extends
04: SessionChangeListener {
05: /**
06: * The session has been replaced. All views of session data
07: * should be fully refreshed.
08: *
09: * @param oldSession the previous open session, or null if no
10: * session was previously open
11: * @param newSession the new session, or null if the previous
12: * session was closed using the File, Close action
13: */
14: void sessionReplaced(Session oldSession, Session newSession);
15: }
|