Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 jdk.jdi.jmod - JDI Tool
JDK 11 jdk.jdi.jmod is the JMOD file for JDK 11 JDI (Java Debug Interface) tool.
JDK 11 JDI tool compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\jdk.jdi.jmod.
JDK 11 JDI tool compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 JDI tool source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\jdk.jdi.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/jdi/connect/Connector.java
/* * Copyright (c) 1998, 2017, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.jdi.connect; import java.io.Serializable; import java.util.List; import java.util.Map; /** * A method of connection between a debugger and a target VM. * A connector encapsulates exactly one {@link Transport}. used * to establish the connection. Each connector has a set of arguments * which controls its operation. The arguments are stored as a * map, keyed by a string. Each implementation defines the string * argument keys it accepts. * * @see LaunchingConnector * @see AttachingConnector * @see ListeningConnector * @see Connector.Argument * * @author Gordon Hirsch * @since 1.3 */ public interface Connector { /** * 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. * * @return the name of this connector. */ String name(); /** * Returns a human-readable description of this connector * and its purpose. * * @return the description of this connector */ String description(); /** * Returns the transport mechanism used by this connector to establish * connections with a target VM. * * @return the {@link Transport} used by this connector. */ Transport transport(); /** * Returns the arguments accepted by this Connector and their * default values. The keys of the returned map are string argument * names. The values are {@link Connector.Argument} containing * information about the argument and its default value. * * @return the map associating argument names with argument * information and default value. */ Map<String, Connector.Argument> defaultArguments(); /** * Specification for and value of a Connector argument. * Will always implement a subinterface of Argument: * {@link Connector.StringArgument}, {@link Connector.BooleanArgument}, * {@link Connector.IntegerArgument}, * or {@link Connector.SelectedArgument}. */ public interface Argument extends Serializable { /** * Returns a short, unique identifier for the argument. * Not intended for exposure to end-user. * * @return the name of this argument. */ String name(); /** * Returns a short human-readable label for this argument. * * @return a label for this argument */ String label(); /** * Returns a human-readable description of this argument * and its purpose. * * @return the description of this argument */ String description(); /** * Returns the current value of the argument. Initially, the * default value is returned. If the value is currently unspecified, * null is returned. * * @return the current value of the argument. */ String value(); /** * Sets the value of the argument. * The value should be checked with {@link #isValid(String)} * before setting it; invalid values will throw an exception * when the connection is established - for example, * on {@link LaunchingConnector#launch} */ void setValue(String value); /** * Performs basic sanity check of argument. * @return <code>true</code> if the value is valid to be * used in {@link #setValue(String)} */ boolean isValid(String value); /** * Indicates whether the argument must be specified. If true, * {@link #setValue} must be used to set a non-null value before * using this argument in establishing a connection. * * @return <code>true</code> if the argument must be specified; * <code>false</code> otherwise. */ boolean mustSpecify(); } /** * Specification for and value of a Connector argument, * whose value is Boolean. Boolean values are represented * by the localized versions of the strings "true" and "false". */ public interface BooleanArgument extends Argument { /** * Sets the value of the argument. */ void setValue(boolean value); /** * Performs basic sanity check of argument. * @return <code>true</code> if value is a string * representation of a boolean value. * @see #stringValueOf(boolean) */ boolean isValid(String value); /** * Return the string representation of the <code>value</code> * parameter. * Does not set or examine the current value of <code>this</code> * instance. * @return the localized String representation of the * boolean value. */ String stringValueOf(boolean value); /** * Return the value of the argument as a boolean. Since * the argument may not have been set or may have an invalid * value {@link #isValid(String)} should be called on * {@link #value()} to check its validity. If it is invalid * the boolean returned by this method is undefined. * @return the value of the argument as a boolean. */ boolean booleanValue(); } /** * Specification for and value of a Connector argument, * whose value is an integer. Integer values are represented * by their corresponding strings. */ public interface IntegerArgument extends Argument { /** * Sets the value of the argument. * The value should be checked with {@link #isValid(int)} * before setting it; invalid values will throw an exception * when the connection is established - for example, * on {@link LaunchingConnector#launch} */ void setValue(int value); /** * Performs basic sanity check of argument. * @return <code>true</code> if value represents an int that is * <code>{@link #min()} <= value <= {@link #max()}</code> */ boolean isValid(String value); /** * Performs basic sanity check of argument. * @return <code>true</code> if * <code>{@link #min()} <= value <= {@link #max()}</code> */ boolean isValid(int value); /** * Return the string representation of the <code>value</code> * parameter. * Does not set or examine the current value of <code>this</code> * instance. * @return the String representation of the * int value. */ String stringValueOf(int value); /** * Return the value of the argument as a int. Since * the argument may not have been set or may have an invalid * value {@link #isValid(String)} should be called on * {@link #value()} to check its validity. If it is invalid * the int returned by this method is undefined. * @return the value of the argument as a int. */ int intValue(); /** * The upper bound for the value. * @return the maximum allowed value for this argument. */ int max(); /** * The lower bound for the value. * @return the minimum allowed value for this argument. */ int min(); } /** * Specification for and value of a Connector argument, * whose value is a String. */ public interface StringArgument extends Argument { /** * Performs basic sanity check of argument. * @return <code>true</code> always */ boolean isValid(String value); } /** * Specification for and value of a Connector argument, * whose value is a String selected from a list of choices. */ public interface SelectedArgument extends Argument { /** * Return the possible values for the argument * @return {@link List} of {@link String} */ List<String> choices(); /** * Performs basic sanity check of argument. * @return <code>true</code> if value is one of {@link #choices()}. */ boolean isValid(String value); } }
⏎ com/sun/jdi/connect/Connector.java
Or download all of them as a single archive file:
File name: jdk.jdi-11.0.1-src.zip File size: 464844 bytes Release date: 2018-11-04 Download
⇒ JDK 11 jdk.jdwp.agent.jmod - JDWP Agent Module
2020-07-07, 63438👍, 0💬
Popular Posts:
What Is commons-collections4-4.4 .jar?commons-collections4-4.4 .jaris the JAR file for Apache Common...
MP3SPI is a Java Service Provider Interface that adds MP3 (MPEG 1/2/2.5 Layer 1/2/3) audio format su...
JDK 11 jdk.internal.le.jmod is the JMOD file for JDK 11 Internal Line Editing module. JDK 11 Interna...
Java Cryptography Extension 1.2.2 JAR File Size and Download Location: File name: jce.jar, jce-1.2.2...
How to download and install javamail-1_2.zip? The JavaMail API is a set of abstract APIs that model ...