From: Pavel V. <va...@us...> - 2002-08-21 13:06:37
|
Update of /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/connect In directory usw-pr-cvs1:/tmp/cvs-serv30517 Modified Files: IllegalConnectorArgumentsException.java Connector.java Log Message: VirtualMachineManager renamed to ConnectorManager by michal Index: IllegalConnectorArgumentsException.java =================================================================== RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/connect/IllegalConnectorArgumentsException.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** IllegalConnectorArgumentsException.java 2 Jul 2002 20:19:27 -0000 1.1 --- IllegalConnectorArgumentsException.java 21 Aug 2002 13:06:21 -0000 1.2 *************** *** 25,29 **** /** ! * Thrown to indicate an invalid argument or inconsistent passed * to a {@link Connector}. * --- 25,29 ---- /** ! * Thrown to indicate invalid or inconsistent argument(s) passed * to a {@link Connector}. * *************** *** 70,73 **** --- 70,77 ---- /* * $Log$ + * Revision 1.2 2002/08/21 13:06:21 vachis + * VirtualMachineManager renamed to ConnectorManager + * by michal + * * Revision 1.1 2002/07/02 20:19:27 stolis * Connectors. Index: Connector.java =================================================================== RCS file: /cvsroot/javaprofiler/jpi/net/sourceforge/javaprofiler/jpi/connect/Connector.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** Connector.java 2 Jul 2002 20:19:27 -0000 1.1 --- Connector.java 21 Aug 2002 13:06:21 -0000 1.2 *************** *** 26,42 **** /** ! * A method of connection between a profiler 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. * ! * @author Jan Stola ! * @author Michal Pise */ public interface Connector { /** * Mask for attaching connectors. Attaching connectors can be used to attach ! * to an existing target VM and create a {@link VirtualMachine} mirror for it. */ public static final int ATTACHING_CONNECTOR = 1; --- 26,43 ---- /** ! * Object used to get instance of {@link VirtualMachineRef}. Different implementations ! * of this interface acquire <code>VirtualMachineRef</code> differently - by launching ! * new VM, connecting to an existing VM or listening for a connection from VM. ! * <p> ! * Each connector has a set of arguments which controls its exact operation. * The arguments are stored as a map, keyed by a string. Each implementation * defines the string argument keys it accepts. * ! * @author Jan Stola, Michal Pise */ public interface Connector { /** * Mask for attaching connectors. Attaching connectors can be used to attach ! * to an existing target VM and create a {@link VirtualMachineRef} mirror for it. */ public static final int ATTACHING_CONNECTOR = 1; *************** *** 44,54 **** * Mask for listening connectors. Listening connectors can be used to listen * for a connection initiated by a target VM and create ! * a {@link VirtualMachine} mirror for it. ! */ public static final int LISTENING_CONNECTOR = 2; /** * Mask for launching connectors. Launching connectors can be used to launch ! * a new target VM and immediately create a {@link VirtualMachine} mirror for it. ! */ public static final int LAUNCHING_CONNECTOR = 4; --- 45,55 ---- * Mask for listening connectors. Listening connectors can be used to listen * for a connection initiated by a target VM and create ! * a {@link VirtualMachineRef} mirror for it. ! */ public static final int LISTENING_CONNECTOR = 2; /** * Mask for launching connectors. Launching connectors can be used to launch ! * a new target VM and immediately create a {@link VirtualMachineRef} mirror for it. ! */ public static final int LAUNCHING_CONNECTOR = 4; *************** *** 57,62 **** * should follow similar naming conventions as are used with packages * to avoid name collisions. For example, our connector implementations ! * have names prefixed with "net.sourceforge.javaprofiler.jpi.". Not intended ! * for exposure to the end-user. * * @return the name of this connector. --- 58,63 ---- * should follow similar naming conventions as are used with packages * to avoid name collisions. For example, our connector implementations ! * have names prefixed with "net.sourceforge.javaprofiler.jpi.". This name ! * is not intended for exposure to the end-user. * * @return the name of this connector. *************** *** 107,111 **** /** ! * Specification for and value of a Connector argument. Will always implement * a subinterface of Argument: {@link Connector.StringArgument}, * {@link Connector.BooleanArgument}, {@link Connector.IntegerArgument}, --- 108,112 ---- /** ! * Specification for name and value of a Connector argument. Will always implement * a subinterface of Argument: {@link Connector.StringArgument}, * {@link Connector.BooleanArgument}, {@link Connector.IntegerArgument}, *************** *** 115,119 **** /** ! * Returns a short, unique identifier for the argument. Not intended for * exposure to end-user. * --- 116,120 ---- /** ! * Returns a short, unique identifier for the argument. It is not intended for * exposure to end-user. * *************** *** 286,289 **** --- 287,294 ---- /* * $Log$ + * Revision 1.2 2002/08/21 13:06:21 vachis + * VirtualMachineManager renamed to ConnectorManager + * by michal + * * Revision 1.1 2002/07/02 20:19:27 stolis * Connectors. |