[jboss-cvs] JBossAS SVN: r86408 - 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
Fri Mar 27 04:49:43 EDT 2009


Author: emuckenhuber
Date: 2009-03-27 04:49:43 -0400 (Fri, 27 Mar 2009)
New Revision: 86408

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-6683] update jms destination managed objects

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-03-27 08:30:27 UTC (rev 86407)
+++ branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java	2009-03-27 08:49:43 UTC (rev 86408)
@@ -56,35 +56,49 @@
 
 // Management Properties
    
-   @ManagementProperty(use={ViewUse.RUNTIME}, description="The destination name")
+   @ManagementProperty(use={ViewUse.RUNTIME},
+         description="The destination name")
    public String getName() { return null; }   
 
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The destination's JNDI name")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The destination's JNDI name",
+         includeInTemplate=true)
    @ManagementObjectID(type="Queue")
    public String getJNDIName() { return null; }
    public void setJNDIName(String arg0) throws Exception { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The ObjectName of the server peer this destination was deployed on")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The ObjectName of the server peer this destination was deployed on",
+         includeInTemplate=true)
    public ObjectName getServerPeer() { return null; }
    public void setServerPeer(ObjectName arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The DLQ for this queue, overrides the default DLQ on the server peer")   
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The DLQ for this queue, overrides the default DLQ on the server peer",
+         includeInTemplate=true)
    public ObjectName getDLQ() { return null; }
    public void setDLQ(ObjectName arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The expiry queue for this queue, overrides the default expiry queue on the server peer")   
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The expiry queue for this queue, overrides the default expiry queue on the server peer",
+         includeInTemplate=true)
    public ObjectName getExpiryQueue() { return null; }
    public void setExpiryQueue(ObjectName arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The delay before redelivering")   
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The delay before redelivering",
+         includeInTemplate=true)   
    public long getRedeliveryDelay() { return 0; }
    public void setRedeliveryDelay(long arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The destination's security configuration")     
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The destination's security configuration",
+         includeInTemplate=true)     
    public Element getSecurityConfig() { return null; }
    public void setSecurityConfig(Element arg0) { }
    
-   @ManagementProperty(use={ViewUse.RUNTIME}, description="True if this destination was created programmatically")
+   @ManagementProperty(use={ViewUse.RUNTIME},
+         description="True if this destination was created programmatically")
    public boolean isCreatedProgrammatically() { return false; }
    
    @ManagementProperty(use={ViewUse.STATISTIC}, description="The number of messages in the queue")
@@ -96,23 +110,33 @@
    @ManagementProperty(use={ViewUse.STATISTIC}, description="The number of scheduled messages in the queue")
    public int getScheduledMessageCount() { return 0; }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The maximum number of messages this queue can hold before they are dropped")     
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The maximum number of messages this queue can hold before they are dropped",
+         includeInTemplate=true)     
    public int getMaxSize() { return 0; }
    public void setMaxSize(int arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The in-memory message limit, can only be set when queue is stopped")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The in-memory message limit, can only be set when queue is stopped",
+         includeInTemplate=true)
    public int getFullSize() { return 0; }
    public void setFullSize(int arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The paging size, can only be set when queue is stopped")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The paging size, can only be set when queue is stopped",
+         includeInTemplate=true)
    public int getPageSize() { return 0; }
    public void setPageSize(int arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The write-cache size, can only be set when queue is stopped")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The write-cache size, can only be set when queue is stopped",
+         includeInTemplate=true)
    public int getDownCacheSize() { return 0; }
    public void setDownCacheSize(int arg0) { }
 
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="Is this a clustered destination?")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="Is this a clustered destination?",
+         includeInTemplate=true)
    public boolean isClustered() { return false; }
    public void setClustered(boolean arg0) { }
 
@@ -122,11 +146,15 @@
    @ManagementProperty(use={ViewUse.STATISTIC}, description="Get the message statistics for the queue")
    public MessageStatistics getMessageStatistics() { return null; }
 
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The day limit for the message counter")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The day limit for the message counter",
+         includeInTemplate=true)
    public int getMessageCounterHistoryDayLimit() { return 0; }
    public void setMessageCounterHistoryDayLimit(int arg0) { }
 
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The maximum delivery attempts to the queue")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The maximum delivery attempts to the queue",
+         includeInTemplate=true)
    public int getMaxDeliveryAttempts() { return 0; }
    public void setMaxDeliveryAttempts(int 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-03-27 08:30:27 UTC (rev 86407)
+++ branches/Branch_5_x/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java	2009-03-27 08:49:43 UTC (rev 86408)
@@ -54,62 +54,88 @@
    
    // Management Properties
    
-   @ManagementProperty(use={ViewUse.RUNTIME}, description="The destination name")
+   @ManagementProperty(use={ViewUse.RUNTIME},
+         description="The destination name")
    public String getName() { return null; }   
 
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The destination's JNDI name")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The destination's JNDI name",
+         mandatory=true, includeInTemplate=true)
    @ManagementObjectID(type="Topic")
    public String getJNDIName() { return null; }
    public void setJNDIName(String arg0) throws Exception { }
 
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The ObjectName of the server peer this destination was deployed on")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The ObjectName of the server peer this destination was deployed on",
+         includeInTemplate=true)
    public ObjectName getServerPeer() { return null; }
    public void setServerPeer(ObjectName arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The DLQ for this topic, overrides the default DLQ on the server peer")   
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The DLQ for this topic, overrides the default DLQ on the server peer",
+         includeInTemplate=true)   
    public ObjectName getDLQ() { return null; }
    public void setDLQ(ObjectName arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The expiry queue for this topic, overrides the default expiry queue on the server peer")   
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The expiry queue for this topic, overrides the default expiry queue on the server peer",
+         includeInTemplate=true)   
    public ObjectName getExpiryQueue() { return null; }
    public void setExpiryQueue(ObjectName arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The delay before redelivering")   
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The delay before redelivering",
+         includeInTemplate=true)   
    public long getRedeliveryDelay() { return 0; }
    public void setRedeliveryDelay(long arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The destination's security configuration")     
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The destination's security configuration",
+         includeInTemplate=true)     
    public Element getSecurityConfig() { return null; }
    public void setSecurityConfig(Element arg0) { }
    
    @ManagementProperty(use={ViewUse.RUNTIME}, description="True if this destination was created programmatically")
    public boolean isCreatedProgrammatically() { return false; }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The maximum number of messages this topic can hold before they are dropped")     
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The maximum number of messages this topic can hold before they are dropped",
+         includeInTemplate=true)     
    public int getMaxSize() { return 0; }
    public void setMaxSize(int arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The in-memory message limit, can only be set when topic is stopped")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The in-memory message limit, can only be set when topic is stopped",
+         includeInTemplate=true)
    public int getFullSize() { return 0; }
    public void setFullSize(int arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The paging size, can only be set when topic is stopped")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The paging size, can only be set when topic is stopped",
+         includeInTemplate=true)
    public int getPageSize() { return 0; }
    public void setPageSize(int arg0) { }
    
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The write-cache size, can only be set when topic is stopped")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The write-cache size, can only be set when topic is stopped",
+         includeInTemplate=true)
    public int getDownCacheSize() { return 0; }
    public void setDownCacheSize(int arg0) { }
 
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="Is this a clustered destination?")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="Is this a clustered destination?",
+         includeInTemplate=true)
    public boolean isClustered() { return false; }
    public void setClustered(boolean arg0) { }
 
+   // FIXME 
    @ManagementProperty(use={ViewUse.STATISTIC}, description="The day limit for the message counter")
    public int getMessageCounterHistoryDayLimit() { return 0; }
    public void setMessageCounterHistoryDayLimit(int arg0) { }
 
-   @ManagementProperty(use={ViewUse.CONFIGURATION}, description="The maximum delivery attempts to the topic")
+   @ManagementProperty(use={ViewUse.CONFIGURATION},
+         description="The maximum delivery attempts to the topic",
+         includeInTemplate=true)
    public int getMaxDeliveryAttempts() { return 0; }
    public void setMaxDeliveryAttempts(int arg0) { }
    




More information about the jboss-cvs-commits mailing list