[jboss-cvs] JBossAS SVN: r59410 - branches/Branch_4_2/system/src/main/org/jboss/system/server

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jan 8 04:44:03 EST 2007


Author: dimitris at jboss.org
Date: 2007-01-08 04:44:00 -0500 (Mon, 08 Jan 2007)
New Revision: 59410

Modified:
   branches/Branch_4_2/system/src/main/org/jboss/system/server/ServerConfigImpl.java
   branches/Branch_4_2/system/src/main/org/jboss/system/server/ServerConfigImplMBean.java
Log:
remove redundant attributes

Modified: branches/Branch_4_2/system/src/main/org/jboss/system/server/ServerConfigImpl.java
===================================================================
--- branches/Branch_4_2/system/src/main/org/jboss/system/server/ServerConfigImpl.java	2007-01-08 09:33:50 UTC (rev 59409)
+++ branches/Branch_4_2/system/src/main/org/jboss/system/server/ServerConfigImpl.java	2007-01-08 09:44:00 UTC (rev 59410)
@@ -73,10 +73,7 @@
     */
    private Object patchURL;
 
-   private String serverSpecificationTitle;
    private String serverSpecificationVersion;
-   private String serverImplementationTitle;
-   private String serverImplementationVersion;
 
    private String serverName;
    private File serverBaseDir;
@@ -117,10 +114,7 @@
       getServerHomeDir();
       
       Package thisPackage = getClass().getPackage();
-      serverSpecificationTitle = thisPackage.getSpecificationTitle();
       serverSpecificationVersion = thisPackage.getSpecificationVersion();
-      serverImplementationTitle = thisPackage.getImplementationTitle();
-      serverImplementationVersion = thisPackage.getImplementationVersion();
    }
 
    /** Breakout the initialization of URLs from the constructor as we need
@@ -142,33 +136,6 @@
    /////////////////////////////////////////////////////////////////////////
 
    /**
-    * Get the server Implementation-Title
-    * @jmx:managed-attribute
-    */
-   public String getImplementationTitle()
-   {
-      return serverImplementationTitle;
-   }
-
-   /**
-    * Get the server Implementation-Version
-    * @jmx:managed-attribute
-    */
-   public String getImplementationVersion()
-   {
-      return serverImplementationVersion;
-   }
-
-   /**
-    * Get the server Specification-Title
-    * @jmx:managed-attribute
-    */
-   public String getSpecificationTitle()
-   {
-      return serverSpecificationTitle;
-   }
-
-   /**
     * Get the server Specification-Version
     * @jmx:managed-attribute
     */

Modified: branches/Branch_4_2/system/src/main/org/jboss/system/server/ServerConfigImplMBean.java
===================================================================
--- branches/Branch_4_2/system/src/main/org/jboss/system/server/ServerConfigImplMBean.java	2007-01-08 09:33:50 UTC (rev 59409)
+++ branches/Branch_4_2/system/src/main/org/jboss/system/server/ServerConfigImplMBean.java	2007-01-08 09:44:00 UTC (rev 59410)
@@ -21,32 +21,19 @@
  */
 package org.jboss.system.server;
 
+import javax.management.ObjectName;
+
+import org.jboss.mx.util.ObjectNameFactory;
+
 /**
  * MBean interface.
  */
 public interface ServerConfigImplMBean
 {
+   /** The default ObjectName */
+   ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss.system:type=ServerConfig");
 
-   //default object name
-   public static final javax.management.ObjectName OBJECT_NAME = org.jboss.mx.util.ObjectNameFactory
-         .create("jboss.system:type=ServerConfig");
-
    /**
-    * Get the server Implementation-Title
-    */
-   String getImplementationTitle();
-
-   /**
-    * Get the server Implementation-Version
-    */
-   String getImplementationVersion();
-
-   /**
-    * Get the server Specification-Title
-    */
-   String getSpecificationTitle();
-
-   /**
     * Get the server Specification-Version
     */
    String getSpecificationVersion();




More information about the jboss-cvs-commits mailing list