/core/src/com/bluemarsh/jswat/core/session/package.html
HTML | 38 lines | 31 code | 6 blank | 1 comment | 0 complexity | 4f6473afc38ed775dda61b16fe7bbfae MD5 | raw file
Possible License(s): MPL-2.0-no-copyleft-exception
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3<!-- $Id: package.html 284 2010-11-20 22:35:20Z nathanfiedler $ --> 4 5<html xmlns="http://www.w3.org/1999/xhtml"> 6<head> 7 <meta name="generator" content= 8 "HTML Tidy for Linux/x86 (vers 1 July 2005), see www.w3.org" /> 9 10 <title>keeps HTML tidy happy</title> 11</head> 12 13<body> 14 <p>Defines the "session" classes which control the 15 debuggee. Sessions are connected to a debuggee via a 16 <code>JvmConnection</code> and control the state of the debuggee. 17 Listeners of the session are notified of when the state in the 18 debuggee changes.</p> 19 20 <p>The <code>SessionManager</code> implementations are accessed via 21 the <code>SessionProvider</code> static class. To provide custom 22 implementations of <code>SessionManager</code>, you must install your 23 implementation as a "service". See the NetBeans OpenAPIs 24 documentation under "Services & Lookup" to learn how 25 this is done.</p> 26 27 <p>Similarly, instances of <code>SessionFactory</code> are acquired 28 via the <code>SessionProvider</code> static class. To provide custom 29 implementations of <code>SessionFactory</code>, you must install your 30 implementation as a "service".</p> 31 32 <p>Implementations of <code>Session</code> must cause instances of 33 <code>DebuggingContext</code> and <code>BreakpointManager</code> to 34 be created, prior to the session being connected to a debuggee. 35 Ideally, this would be done in the <code>init()</code> method. See 36 the <code>BasicSession</code> implementation for an example.</p> 37</body> 38</html>