[jboss-cvs] JBossAS SVN: r86669 - branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Apr 2 08:49:09 EDT 2009


Author: emuckenhuber
Date: 2009-04-02 08:49:09 -0400 (Thu, 02 Apr 2009)
New Revision: 86669

Modified:
   branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java
   branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java
Log:
[JBAS-6721] update ViewUse

Modified: branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java
===================================================================
--- branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java	2009-04-02 12:35:21 UTC (rev 86668)
+++ branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java	2009-04-02 12:49:09 UTC (rev 86669)
@@ -143,7 +143,7 @@
 
    @ManagementProperty(use={ViewUse.CONFIGURATION},
          description="Is this a clustered destination?",
-         includeInTemplate=true)
+         includeInTemplate=true, readOnly=true)
    public boolean isClustered() { return false; }
    public void setClustered(boolean arg0) { }
 

Modified: branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java
===================================================================
--- branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java	2009-04-02 12:35:21 UTC (rev 86668)
+++ branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java	2009-04-02 12:49:09 UTC (rev 86669)
@@ -56,7 +56,7 @@
    
    // Management Properties
    
-   @ManagementProperty(use={ViewUse.RUNTIME},
+   @ManagementProperty(use={ViewUse.STATISTIC},
          description="The destination name",
          mandatory=true, includeInTemplate=true)
    public String getName() { return null; }   
@@ -131,7 +131,7 @@
 
    @ManagementProperty(use={ViewUse.CONFIGURATION},
          description="Is this a clustered destination?",
-         includeInTemplate=true)
+         includeInTemplate=true, readOnly=true)
    public boolean isClustered() { return false; }
    public void setClustered(boolean arg0) { }
 




More information about the jboss-cvs-commits mailing list