APIdia Launch Partner
Top Fields Constructors Methods
com.sun.tools.jdi

public Class ProcessAttachingConnector

extends ConnectorImpl
implements AttachingConnector
Class Inheritance
All Implemented Interfaces
com.sun.jdi.connect.AttachingConnector, com.sun.jdi.connect.Connector
Imports
java.io.IOException, java.util.Map, .Properties, com.sun.jdi.Bootstrap, .VirtualMachine, com.sun.jdi.connect.AttachingConnector, .Connector, .IllegalConnectorArgumentsException, .Transport, com.sun.jdi.connect.spi.Connection, .TransportService

Field Summary

Modifier and TypeField and Description
pack-priv static final String
pack-priv static final String
pack-priv Transport
pack-priv VirtualMachine
Inherited from com.sun.tools.jdi.ConnectorImpl:
defaultArgumentsfalseStringtrueString

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public VirtualMachine
attach(Map<String, ? extends Connector.Argument> args)

Implements com.sun.jdi.connect.AttachingConnector.attach.

Attach to a target VM using the specified address and Connector arguments.

public String
description()

Implements com.sun.jdi.connect.Connector.description.

Returns a human-readable description of this connector and its purpose.

public String
name()

Implements com.sun.jdi.connect.Connector.name.

Returns a short identifier for the connector.

public Transport
transport()

Implements com.sun.jdi.connect.Connector.transport.

Returns the transport mechanism used by this connector to establish connections with a target VM.

Inherited from com.sun.tools.jdi.ConnectorImpl:
addBooleanArgumentaddIntegerArgumentaddSelectedArgumentaddStringArgumentargumentdefaultArgumentsgetStringtoString

Field Detail

ARG_PIDback to summary
pack-priv static final String ARG_PID
ARG_TIMEOUTback to summary
pack-priv static final String ARG_TIMEOUT
transportback to summary
pack-priv Transport transport
vmback to summary
pack-priv VirtualMachine vm

Constructor Detail

ProcessAttachingConnectorback to summary
public ProcessAttachingConnector()

Method Detail

attachback to summary
public VirtualMachine attach(Map<String, ? extends Connector.Argument> args) throws IOException, IllegalConnectorArgumentsException

Implements com.sun.jdi.connect.AttachingConnector.attach.

Attach to a target VM using the specified address and Connector arguments.

Exceptions
IOException:

Doc from com.sun.jdi.connect.AttachingConnector.attach.

when unable to attach. Specific exceptions are dependent on the Connector implementation in use.

IllegalConnectorArgumentsException:

Doc from com.sun.jdi.connect.AttachingConnector.attach.

when one of the connector arguments is invalid.

descriptionback to summary
public String description()

Implements com.sun.jdi.connect.Connector.description.

Doc from com.sun.jdi.connect.Connector.description.

Returns a human-readable description of this connector and its purpose.

nameback to summary
public String name()

Implements com.sun.jdi.connect.Connector.name.

Doc from com.sun.jdi.connect.Connector.name.

Returns a short identifier for the connector. Connector implementors should follow similar naming conventions as are used with packages to avoid name collisions. For example, the Sun connector implementations have names prefixed with "com.sun.jdi.". Not intended for exposure to end-user.

transportback to summary
public Transport transport()

Implements com.sun.jdi.connect.Connector.transport.

Doc from com.sun.jdi.connect.Connector.transport.

Returns the transport mechanism used by this connector to establish connections with a target VM.