User: boissier Date: 01/12/05 15:45:09 Modified: src/main/org/jboss Shutdown.java Version.java Log: Added some Javadoc Revision Changes Path 1.6 +7 -4 jboss/src/main/org/jboss/Shutdown.java Index: Shutdown.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/Shutdown.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- Shutdown.java 2001/10/31 13:20:35 1.5 +++ Shutdown.java 2001/12/05 23:45:09 1.6 @@ -23,7 +23,7 @@ * * @author <a href="mailto:[EMAIL PROTECTED]">Dewayne McNair</a> * @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a> - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ */ public class Shutdown { @@ -33,9 +33,8 @@ /** * Parse the command line and shutdown the remote server. * - * @param argv Comamne line arguments. - * - * @throws Exception Invalid port number. + * @param argv Command line arguments. + * @throws Exception Invalid port number. */ public static void main(final String argv[]) throws Exception { @@ -56,6 +55,10 @@ /** * Connect to the JBoss servers HTML JMX adapter and invoke the * shutdown service. + * + * @param host The hostname of the JMX server. + * @param port The port of the JMX server. + * */ public static void shutdown(final String host, final int port) { try { 1.4 +4 -3 jboss/src/main/org/jboss/Version.java Index: Version.java =================================================================== RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/Version.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Version.java 2001/09/03 20:02:03 1.3 +++ Version.java 2001/12/05 23:45:09 1.4 @@ -17,7 +17,7 @@ * Provides access to JBoss version (and build) properties. * * @author <a href="mailto:[EMAIL PROTECTED]">Jason Dillon</a> - * @version $Revision: 1.3 $ + * @version $Revision: 1.4 $ */ public final class Version { @@ -74,8 +74,8 @@ /** * Returns the value for the given property name. * - * @param name The name of the property. - * @return The property value or null if the property is not set. + * @param name - The name of the property. + * @return The property value or null if the property is not set. */ public String getProperty(final String name) { @@ -172,6 +172,7 @@ /** * Returns a property value as an int. * + * @param name - The name of the property. * @return The property value, or -1 if there was a problem converting * it to an int. */
_______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development