|
From: Michal P. <mic...@us...> - 2002-09-12 14:22:46
|
Update of /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/connect
In directory usw-pr-cvs1:/tmp/cvs-serv16830/net/sourceforge/javaprofiler/jpiimpl/connect
Modified Files:
ShmemAttachConnector.java ShmemLaunchConnector.java
ShmemListenConnector.java SocketAttachConnector.java
SocketLaunchConnector.java SocketListenConnector.java
Log Message:
Label from resource bundle.
Index: ShmemAttachConnector.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/connect/ShmemAttachConnector.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** ShmemAttachConnector.java 10 Sep 2002 19:27:34 -0000 1.8
--- ShmemAttachConnector.java 12 Sep 2002 14:22:42 -0000 1.9
***************
*** 124,138 ****
return "net.sourceforge.javaprofiler.jpi.ShmemAttachConnector";
}
!
! /** Returns a short human-readable name of this connector. It should not be more than
! * one line long.
*/
public String label() {
! //PENDING
! return this.description();
}
}
/*
* $Log$
* Revision 1.8 2002/09/10 19:27:34 vachis
* label implemeted through description
--- 124,141 ----
return "net.sourceforge.javaprofiler.jpi.ShmemAttachConnector";
}
!
! /**
! * Returns a short human-readable short name of this connector.
*/
public String label() {
! return bundle.getString("ShmemAttachLabel");
}
}
/*
* $Log$
+ * Revision 1.9 2002/09/12 14:22:42 michalpise
+ *
+ * Label from resource bundle.
+ *
* Revision 1.8 2002/09/10 19:27:34 vachis
* label implemeted through description
***************
*** 159,161 ****
* First version of Connectors.
*
! */
\ No newline at end of file
--- 162,164 ----
* First version of Connectors.
*
! */
Index: ShmemLaunchConnector.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/connect/ShmemLaunchConnector.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** ShmemLaunchConnector.java 10 Sep 2002 19:27:34 -0000 1.6
--- ShmemLaunchConnector.java 12 Sep 2002 14:22:42 -0000 1.7
***************
*** 179,193 ****
}
! /** Returns a short human-readable name of this connector. It should not be more than
! * one line long.
*/
public String label() {
! //PENDING
! return this.description();
}
!
}
/*
* $Log$
* Revision 1.6 2002/09/10 19:27:34 vachis
* label implemeted through description
--- 179,196 ----
}
! /**
! * Returns a short human-readable short name of this connector.
*/
public String label() {
! return bundle.getString("ShmemLaunchLabel");
}
!
}
/*
* $Log$
+ * Revision 1.7 2002/09/12 14:22:42 michalpise
+ *
+ * Label from resource bundle.
+ *
* Revision 1.6 2002/09/10 19:27:34 vachis
* label implemeted through description
***************
*** 208,210 ****
* First version of Connectors.
*
! */
\ No newline at end of file
--- 211,213 ----
* First version of Connectors.
*
! */
Index: ShmemListenConnector.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/connect/ShmemListenConnector.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** ShmemListenConnector.java 10 Sep 2002 19:27:35 -0000 1.5
--- ShmemListenConnector.java 12 Sep 2002 14:22:42 -0000 1.6
***************
*** 121,136 ****
return "net.sourceforge.javaprofiler.jpi.ShmemListenConnector";
}
!
! /** Returns a short human-readable name of this connector. It should not be more than
! * one line long.
*/
public String label() {
! //PENDING
! return this.description();
}
!
}
/*
* $Log$
* Revision 1.5 2002/09/10 19:27:35 vachis
* label implemeted through description
--- 121,139 ----
return "net.sourceforge.javaprofiler.jpi.ShmemListenConnector";
}
!
! /**
! * Returns a short human-readable short name of this connector.
*/
public String label() {
! return bundle.getString("ShmemListenLabel");
}
!
}
/*
* $Log$
+ * Revision 1.6 2002/09/12 14:22:42 michalpise
+ *
+ * Label from resource bundle.
+ *
* Revision 1.5 2002/09/10 19:27:35 vachis
* label implemeted through description
***************
*** 148,150 ****
* First version of Connectors.
*
! */
\ No newline at end of file
--- 151,153 ----
* First version of Connectors.
*
! */
Index: SocketAttachConnector.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/connect/SocketAttachConnector.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** SocketAttachConnector.java 10 Sep 2002 19:27:36 -0000 1.8
--- SocketAttachConnector.java 12 Sep 2002 14:22:42 -0000 1.9
***************
*** 2,7 ****
* Sun Public License Notice
*
! * The contents of this file are subject to the Sun Public License Version
! * 1.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is available at http://www.sun.com/
*
--- 2,7 ----
* Sun Public License Notice
*
! * The contents of this file are subject to the Sun Public License Version
! * 1.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is available at http://www.sun.com/
*
***************
*** 65,75 ****
IProf iprof=new IProf(new CommunSetupSocket(CommunSetupSocket.CLIENT_MODE, host, port));
try {
! iprof.run();
} catch (IProfException ipe) {
throw new ConnectingException(bundle.getString("ERR_CONNECT")+ipe);
! }
return new VirtualMachineImpl(iprof);
}
!
/**
* Returns the transport mechanism used by this connector to establish
--- 65,75 ----
IProf iprof=new IProf(new CommunSetupSocket(CommunSetupSocket.CLIENT_MODE, host, port));
try {
! iprof.run();
} catch (IProfException ipe) {
throw new ConnectingException(bundle.getString("ERR_CONNECT")+ipe);
! }
return new VirtualMachineImpl(iprof);
}
!
/**
* Returns the transport mechanism used by this connector to establish
***************
*** 81,85 ****
return SocketTransport.getDefault();
}
!
/**
* Returns the arguments accepted by this Connector and their default values.
--- 81,85 ----
return SocketTransport.getDefault();
}
!
/**
* Returns the arguments accepted by this Connector and their default values.
***************
*** 99,108 ****
arg=new IntegerArgumentImpl(true, bundle.getString("Port"),
bundle.getString("AttachPort"), "port", 0, 65535);
! ((Connector.IntegerArgument)arg).setValue(
Integer.parseInt( bundle.getString( "DEFAULT_ATTACH_SOCKET_PORT" ) ));
args.put(arg.name(), arg);
return args;
}
!
/**
* Returns a type of this connector. Three currently supported types are
--- 99,108 ----
arg=new IntegerArgumentImpl(true, bundle.getString("Port"),
bundle.getString("AttachPort"), "port", 0, 65535);
! ((Connector.IntegerArgument)arg).setValue(
Integer.parseInt( bundle.getString( "DEFAULT_ATTACH_SOCKET_PORT" ) ));
args.put(arg.name(), arg);
return args;
}
!
/**
* Returns a type of this connector. Three currently supported types are
***************
*** 114,118 ****
return Connector.ATTACHING_CONNECTOR;
}
!
/**
* Returns a human-readable description of this connector and its purpose.
--- 114,118 ----
return Connector.ATTACHING_CONNECTOR;
}
!
/**
* Returns a human-readable description of this connector and its purpose.
***************
*** 123,127 ****
return bundle.getString("SocketAttachDesc");
}
!
/**
* Returns a short identifier for the connector. Connector implementors
--- 123,127 ----
return bundle.getString("SocketAttachDesc");
}
!
/**
* Returns a short identifier for the connector. Connector implementors
***************
*** 136,150 ****
return "net.sourceforge.javaprofiler.jpi.SocketAttachConnector";
}
!
! /** Returns a short human-readable name of this connector. It should not be more than
! * one line long.
*/
public String label() {
! //PENDING
! return this.description();
}
}
/*
* $Log$
* Revision 1.8 2002/09/10 19:27:36 vachis
* label implemeted through description
--- 136,154 ----
return "net.sourceforge.javaprofiler.jpi.SocketAttachConnector";
}
!
! /**
! * Returns a short human-readable short name of this connector.
*/
public String label() {
! return bundle.getString("SocketAttachLabel");
}
+
}
/*
* $Log$
+ * Revision 1.9 2002/09/12 14:22:42 michalpise
+ *
+ * Label from resource bundle.
+ *
* Revision 1.8 2002/09/10 19:27:36 vachis
* label implemeted through description
***************
*** 171,173 ****
* First version of Connectors.
*
! */
\ No newline at end of file
--- 175,177 ----
* First version of Connectors.
*
! */
Index: SocketLaunchConnector.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/connect/SocketLaunchConnector.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** SocketLaunchConnector.java 10 Sep 2002 19:27:36 -0000 1.6
--- SocketLaunchConnector.java 12 Sep 2002 14:22:42 -0000 1.7
***************
*** 181,194 ****
}
! /** Returns a short human-readable name of this connector. It should not be more than
! * one line long.
*/
public String label() {
! //PENDING
! return this.description();
}
}
/*
* $Log$
* Revision 1.6 2002/09/10 19:27:36 vachis
* label implemeted through description
--- 181,197 ----
}
! /**
! * Returns a short human-readable short name of this connector.
*/
public String label() {
! return bundle.getString("SocketLaunchLabel");
}
}
/*
* $Log$
+ * Revision 1.7 2002/09/12 14:22:42 michalpise
+ *
+ * Label from resource bundle.
+ *
* Revision 1.6 2002/09/10 19:27:36 vachis
* label implemeted through description
***************
*** 209,211 ****
* First version of Connectors.
*
! */
\ No newline at end of file
--- 212,214 ----
* First version of Connectors.
*
! */
Index: SocketListenConnector.java
===================================================================
RCS file: /cvsroot/javaprofiler/jpiimpl/net/sourceforge/javaprofiler/jpiimpl/connect/SocketListenConnector.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** SocketListenConnector.java 10 Sep 2002 19:27:36 -0000 1.6
--- SocketListenConnector.java 12 Sep 2002 14:22:42 -0000 1.7
***************
*** 125,138 ****
}
! /** Returns a short human-readable name of this connector. It should not be more than
! * one line long.
*/
public String label() {
! //PENDING
! return this.description();
! }
}
/*
* $Log$
* Revision 1.6 2002/09/10 19:27:36 vachis
* label implemeted through description
--- 125,141 ----
}
! /**
! * Returns a short human-readable short name of this connector.
*/
public String label() {
! return bundle.getString("SocketListenLabel");
! }
}
/*
* $Log$
+ * Revision 1.7 2002/09/12 14:22:42 michalpise
+ *
+ * Label from resource bundle.
+ *
* Revision 1.6 2002/09/10 19:27:36 vachis
* label implemeted through description
***************
*** 153,155 ****
* First version of Connectors.
*
! */
\ No newline at end of file
--- 156,158 ----
* First version of Connectors.
*
! */
|