[jboss-cvs] JBossAS SVN: r69726 - trunk/messaging/src/main/org/jboss/jms/server/destination.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Feb 8 04:18:40 EST 2008
Author: scott.stark at jboss.org
Date: 2008-02-08 04:18:40 -0500 (Fri, 08 Feb 2008)
New Revision: 69726
Modified:
trunk/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java
trunk/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java
Log:
JBAS-4396, annotate the id properties with ManagementObjectID
Modified: trunk/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java
===================================================================
--- trunk/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java 2008-02-08 07:07:40 UTC (rev 69725)
+++ trunk/messaging/src/main/org/jboss/jms/server/destination/QueueServiceMO.java 2008-02-08 09:18:40 UTC (rev 69726)
@@ -31,6 +31,7 @@
import org.jboss.managed.api.ManagedOperation.Impact;
import org.jboss.managed.api.annotation.ManagementComponent;
import org.jboss.managed.api.annotation.ManagementObject;
+import org.jboss.managed.api.annotation.ManagementObjectID;
import org.jboss.managed.api.annotation.ManagementOperation;
import org.jboss.managed.api.annotation.ManagementProperties;
import org.jboss.managed.api.annotation.ManagementProperty;
@@ -56,6 +57,7 @@
// Management Properties
@ManagementProperty(use={ViewUse.RUNTIME}, description="The destination name")
+ @ManagementObjectID(type="Queue")
public String getName() { return null; }
@ManagementProperty(use={ViewUse.CONFIGURATION}, description="The destination's JNDI name")
Modified: trunk/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java
===================================================================
--- trunk/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java 2008-02-08 07:07:40 UTC (rev 69725)
+++ trunk/messaging/src/main/org/jboss/jms/server/destination/TopicServiceMO.java 2008-02-08 09:18:40 UTC (rev 69726)
@@ -29,6 +29,7 @@
import org.jboss.managed.api.ManagedOperation.Impact;
import org.jboss.managed.api.annotation.ManagementComponent;
import org.jboss.managed.api.annotation.ManagementObject;
+import org.jboss.managed.api.annotation.ManagementObjectID;
import org.jboss.managed.api.annotation.ManagementOperation;
import org.jboss.managed.api.annotation.ManagementProperties;
import org.jboss.managed.api.annotation.ManagementProperty;
@@ -57,6 +58,7 @@
public String getName() { return null; }
@ManagementProperty(use={ViewUse.CONFIGURATION}, description="The destination's JNDI name")
+ @ManagementObjectID(type="Topic")
public String getJNDIName() { return null; }
public void setJNDIName(String arg0) throws Exception { }
More information about the jboss-cvs-commits
mailing list