public class SAPIDAttachingConnector
extends java.lang.Object
implements com.sun.jdi.connect.AttachingConnector
com.sun.jdi.connect.Connector.Argument, com.sun.jdi.connect.Connector.BooleanArgument, com.sun.jdi.connect.Connector.IntegerArgument, com.sun.jdi.connect.Connector.SelectedArgument, com.sun.jdi.connect.Connector.StringArgument
Modifier and Type | Field and Description |
---|---|
protected static boolean |
DEBUG |
Constructor and Description |
---|
SAPIDAttachingConnector() |
SAPIDAttachingConnector(com.sun.tools.jdi.VirtualMachineManagerService ignored) |
Modifier and Type | Method and Description |
---|---|
com.sun.jdi.VirtualMachine |
attach(java.util.Map arguments) |
protected void |
checkNativeLink(java.lang.SecurityManager sm,
java.lang.String os) |
java.util.Map |
defaultArguments() |
java.lang.String |
description() |
protected static java.lang.Class |
handleVMVersionMismatch(java.lang.reflect.InvocationTargetException ite)
If the causal chain has a sun.jvm.hotspot.runtime.VMVersionMismatchException,
attempt to load VirtualMachineImpl class for target VM version.
|
protected static java.lang.Class |
loadVirtualMachineImplClass() |
protected static java.lang.Class |
loadVirtualMachineImplClass(java.lang.String vmVersion) |
java.lang.String |
name() |
protected static void |
setVMDisposeObserver(java.lang.Object vm) |
java.lang.String |
toString() |
com.sun.jdi.connect.Transport |
transport() |
public SAPIDAttachingConnector(com.sun.tools.jdi.VirtualMachineManagerService ignored)
public SAPIDAttachingConnector()
public com.sun.jdi.VirtualMachine attach(java.util.Map arguments) throws java.io.IOException, com.sun.jdi.connect.IllegalConnectorArgumentsException
attach
in interface com.sun.jdi.connect.AttachingConnector
java.io.IOException
com.sun.jdi.connect.IllegalConnectorArgumentsException
public java.lang.String name()
name
in interface com.sun.jdi.connect.Connector
public java.lang.String description()
description
in interface com.sun.jdi.connect.Connector
public com.sun.jdi.connect.Transport transport()
transport
in interface com.sun.jdi.connect.Connector
protected static java.lang.Class loadVirtualMachineImplClass() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
protected static java.lang.Class loadVirtualMachineImplClass(java.lang.String vmVersion) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
protected static java.lang.Class handleVMVersionMismatch(java.lang.reflect.InvocationTargetException ite)
protected void checkNativeLink(java.lang.SecurityManager sm, java.lang.String os)
protected static void setVMDisposeObserver(java.lang.Object vm)
public java.util.Map defaultArguments()
defaultArguments
in interface com.sun.jdi.connect.Connector
public java.lang.String toString()
toString
in class java.lang.Object
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.