- All Known Subinterfaces:
- AttachingConnector,- LaunchingConnector,- ListeningConnector
public interface Connector
A method of connection between a debugger and a target VM.
 A connector encapsulates exactly one 
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.- Since:
- 1.3
- See Also:
- LaunchingConnector,- AttachingConnector,- ListeningConnector,- Connector.Argument
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceConnector.ArgumentSpecification for and value of a Connector argument.static interfaceConnector.BooleanArgumentSpecification for and value of a Connector argument, whose value is Boolean.static interfaceConnector.IntegerArgumentSpecification for and value of a Connector argument, whose value is an integer.static interfaceConnector.SelectedArgumentSpecification for and value of a Connector argument, whose value is a String selected from a list of choices.static interfaceConnector.StringArgumentSpecification for and value of a Connector argument, whose value is a String.
- 
Method SummaryModifier and Type Method Description Map<String,Connector.Argument>defaultArguments()Returns the arguments accepted by this Connector and their default values.Stringdescription()Returns a human-readable description of this connector and its purpose.Stringname()Returns a short identifier for the connector.Transporttransport()Returns the transport mechanism used by this connector to establish connections with a target VM.
- 
Method Details- 
nameString 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.- Returns:
- the name of this connector.
 
- 
descriptionString description()Returns a human-readable description of this connector and its purpose.- Returns:
- the description of this connector
 
- 
transportTransport transport()Returns the transport mechanism used by this connector to establish connections with a target VM.- Returns:
- the Transportused by this connector.
 
- 
defaultArgumentsMap<String,Connector.Argument> defaultArguments()Returns the arguments accepted by this Connector and their default values. The keys of the returned map are string argument names. The values areConnector.Argumentcontaining information about the argument and its default value.- Returns:
- the map associating argument names with argument information and default value.
 
 
-