[jboss-cvs] JBossAS SVN: r59337 - trunk/system-jmx/src/main/org/jboss/system/server

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jan 4 06:09:02 EST 2007


Author: dimitris at jboss.org
Date: 2007-01-04 06:09:00 -0500 (Thu, 04 Jan 2007)
New Revision: 59337

Modified:
   trunk/system-jmx/src/main/org/jboss/system/server/ServerImpl.java
Log:
JBAS-3966, add a VersionNumber attribute

Modified: trunk/system-jmx/src/main/org/jboss/system/server/ServerImpl.java
===================================================================
--- trunk/system-jmx/src/main/org/jboss/system/server/ServerImpl.java	2007-01-04 11:03:47 UTC (rev 59336)
+++ trunk/system-jmx/src/main/org/jboss/system/server/ServerImpl.java	2007-01-04 11:09:00 UTC (rev 59337)
@@ -1,8 +1,8 @@
 /*
- * JBoss, Home of Professional Open Source
- * Copyright 2005, JBoss Inc., and individual contributors as indicated
- * by the @authors tag. See the copyright.txt in the distribution for a
- * full listing of individual contributors.
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
  *
  * This is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as
@@ -841,6 +841,14 @@
    /**
     * @jmx:managed-attribute
     */
+   public String getVersionNumber()
+   {
+      return version.getVersionNumber();
+   }
+   
+   /**
+    * @jmx:managed-attribute
+    */
    public String getBuildNumber()
    {
       return version.getBuildNumber();




More information about the jboss-cvs-commits mailing list