站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 5.5.0

AbstractDICookie (NetBeans Debugger JPDA API) - NetBeans API Javadoc 5.5.0

org.netbeans.api.debugger.jpda/2 2.4.22

org.netbeans.api.debugger.jpda
Class AbstractDICookie

java.lang.Object
  extended by org.netbeans.api.debugger.jpda.AbstractDICookie
Direct Known Subclasses:
AttachingDICookie, LaunchingDICookie, ListeningDICookie

public abstract class AbstractDICookie
extends Object

Abstract ancestor of all DebuggerInfo Cookies. DebuggerInfo Cookie is responsible for creating of new JPDA VirtualMachine.

How to use it:

    DebuggerInfo di = DebuggerInfo.create (
        "My First Debugger Info", 
        new Object [] {
            abstractDICookieInstance
        }
    );
    DebuggerManager.getDebuggerManager ().startDebugging (di);

See Also:
AttachingDICookie, LaunchingDICookie, ListeningDICookie

Constructor Summary
AbstractDICookie()
           
 
Method Summary
abstract  com.sun.jdi.VirtualMachine getVirtualMachine()
          Creates a new instance of VirtualMachine for this DebuggerInfo Cookie.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDICookie

public AbstractDICookie()
Method Detail

getVirtualMachine

public abstract com.sun.jdi.VirtualMachine getVirtualMachine()
                                                      throws IOException,
                                                             com.sun.jdi.connect.IllegalConnectorArgumentsException,
                                                             com.sun.jdi.connect.VMStartException
Creates a new instance of VirtualMachine for this DebuggerInfo Cookie.

Returns:
a new instance of VirtualMachine for this DebuggerInfo Cookie
Throws:
java.net.ConnectException - When a connection is refused
IOException
com.sun.jdi.connect.IllegalConnectorArgumentsException
com.sun.jdi.connect.VMStartException

org.netbeans.api.debugger.jpda/2 2.4.22

Built on May 28 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.