java.lang.Object | |
↳ | com.sun.tools.jdi.SunCommandLineLauncher |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the arguments accepted by this Connector and their
default values.
| |||||||||||
Returns a human-readable description of this connector
and its purpose.
| |||||||||||
Launches an application and connects to its VM.
| |||||||||||
Returns a short identifier for the connector.
| |||||||||||
Returns a string representation of the object.
| |||||||||||
Returns the transport mechanism used by this connector to establish
connections with a target VM.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns the arguments accepted by this Connector and their
default values. The keys of the returned map are string argument
names. The values are Connector.Argument
containing
information about the argument and its default value.
Returns a human-readable description of this connector and its purpose.
Launches an application and connects to its VM. Properties
of the launch (possibly including options,
main class, and arguments) are specified in
arguments
.
The argument map associates argument name strings to instances
of Connector.Argument
. The default argument map for a
connector can be obtained through defaultArguments()
.
Argument map values can be changed, but map entries should not be
added or deleted.
A target VM launched by a launching connector is not
guaranteed to be stable until after the VMStartEvent
has been
received.
Important note: If a target VM is launched through this
funcctions, its output and error streams must be read as it
executes. These streams are available through the
Process
object returned by
process()
. If the streams are not periodically
read, the target VM will stop executing when the buffers for these
streams are filled.
arguments | the argument map to be used in launching the VM. |
---|
VirtualMachine
mirror of the target VM.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.
Returns a string representation of the object. In general, the
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
Returns the transport mechanism used by this connector to establish connections with a target VM.
Transport
used by this connector.
IOException | |
---|---|
VMStartException |