|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Manager interface defines the API required by all manager objects in JSwat. Managers are used to control a subset of features in JSwat, such as breakpoints, source files, debugging context, etc. This Manager API makes it easy for the Session class to deal with several managers at once, and to handle future Managers.
Try to avoid circular dependencies between Managers when possible. Unpredictable behavior can occur if one manager's init calls on a second manager, which calls on the first manager (which has not completed its initialization).
Method Summary | |
void |
activate(Session session)
Called when the Session is about to begin an active debugging session. |
void |
close(Session session)
Called when the Session is about to close down. |
void |
deactivate(Session session)
Called when the Session is about to end an active debugging session. |
void |
init(Session session)
Called after the Session has instantiated this mananger. |
Method Detail |
public void activate(Session session)
activate
in interface SessionListener
session
- Session being activated.public void close(Session session)
close
in interface SessionListener
session
- Session being closed.public void deactivate(Session session)
deactivate
in interface SessionListener
session
- Session being deactivated.public void init(Session session)
Session.getManager()
.
Managers are not initialized in any particular order.init
in interface SessionListener
session
- Session initializing this manager.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |