[jboss-osgi-commits] JBoss-OSGI SVN: r101562 - projects/jboss-osgi/projects/bundles/jmx/trunk/jmx-api/src/main/java/org/jboss/osgi/jmx.

jboss-osgi-commits at lists.jboss.org jboss-osgi-commits at lists.jboss.org
Fri Feb 26 10:42:13 EST 2010


Author: thomas.diesler at jboss.com
Date: 2010-02-26 10:42:11 -0500 (Fri, 26 Feb 2010)
New Revision: 101562

Modified:
   projects/jboss-osgi/projects/bundles/jmx/trunk/jmx-api/src/main/java/org/jboss/osgi/jmx/BundleStateMBeanExt.java
   projects/jboss-osgi/projects/bundles/jmx/trunk/jmx-api/src/main/java/org/jboss/osgi/jmx/ServiceStateMBeanExt.java
Log:
Add bugzilla references

Modified: projects/jboss-osgi/projects/bundles/jmx/trunk/jmx-api/src/main/java/org/jboss/osgi/jmx/BundleStateMBeanExt.java
===================================================================
--- projects/jboss-osgi/projects/bundles/jmx/trunk/jmx-api/src/main/java/org/jboss/osgi/jmx/BundleStateMBeanExt.java	2010-02-26 14:58:08 UTC (rev 101561)
+++ projects/jboss-osgi/projects/bundles/jmx/trunk/jmx-api/src/main/java/org/jboss/osgi/jmx/BundleStateMBeanExt.java	2010-02-26 15:42:11 UTC (rev 101562)
@@ -45,6 +45,8 @@
    /**
     * Answer the bundle state for a single bundle. 
     * Composite Data that is type by {@link BundleStateMBean#BUNDLE_TYPE}.
+    * 
+    * https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1598
     *    
     * @param bundleId the bundle identifier
     * @return The composite bundle information
@@ -57,6 +59,8 @@
     * Answer the headers for the bundle uniquely identified by the bundle id. 
     * The Tabular Data is typed by the {@link BundleStateMBean#HEADERS_TYPE}.
     * 
+    * https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1599
+    * 
     * @param bundleId the unique identifier of the bundle
     * @param locale The locale name into which the header values are to be localized.
     * @throws IOException if the operation fails 
@@ -69,6 +73,8 @@
     * 
     * @see JmxConstants#PROPERTIES_TYPE for the details of the CompositeType
     * 
+    * https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1600
+    * 
     * @param bundleId the unique identifier of the bundle
     * @param key The name of the requested property. 
     * @return the property data, or null if the property is undefined. 
@@ -78,8 +84,10 @@
    CompositeData getProperty(long bundleId, String key) throws IOException;
    
    /**
-    * Loads the specified class using the class loader of the bundle with the given identifier. 
+    * Loads the specified class using the class loader of the bundle with the given identifier.
     * 
+    * https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1601
+    * 
     * @param bundleId the unique identifier of the bundle
     * @param name The name of the class to load
     * @return The bundle id of the bundle that loaded the class.
@@ -90,6 +98,8 @@
    /**
     * Returns a string encoded URL to the entry at the specified path in the given bundle.
     * 
+    * https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1601
+    * 
     * @param bundleId the unique identifier of the bundle
     * @param path The path name of the entry
     * @return A URL to the entry, or null if no entry could be found
@@ -99,6 +109,8 @@
    /**
     * Find the specified resource from the given bundle's class loader.
     *  
+    * https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1601
+    * 
     * @param bundleId the unique identifier of the bundle
     * @param name The name of the resource.
     * @return A string encoded URL to the named resource, or null if the resource could not be found
@@ -108,6 +120,8 @@
    /**
     * Get the string encoded file path in the persistent storage area provided for the given bundle.
     * 
+    * https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1601
+    * 
     * @param bundleId the unique identifier of the bundle
     * @param filename A relative name to the file to be accessed
     */

Modified: projects/jboss-osgi/projects/bundles/jmx/trunk/jmx-api/src/main/java/org/jboss/osgi/jmx/ServiceStateMBeanExt.java
===================================================================
--- projects/jboss-osgi/projects/bundles/jmx/trunk/jmx-api/src/main/java/org/jboss/osgi/jmx/ServiceStateMBeanExt.java	2010-02-26 14:58:08 UTC (rev 101561)
+++ projects/jboss-osgi/projects/bundles/jmx/trunk/jmx-api/src/main/java/org/jboss/osgi/jmx/ServiceStateMBeanExt.java	2010-02-26 15:42:11 UTC (rev 101562)
@@ -45,11 +45,16 @@
    /**
     * Returns a ServiceReference object for a service that implements and was registered 
     * under the specified class.
+    * 
+    * https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1602
     */
    CompositeData getService(String clazz) throws IOException;
    
    /**
     * Returns an array of ManagedServiceReference objects. 
+    * 
+    * https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1603
+    * 
     * The returned array of ManagedServiceReference objects contains services 
     * that were registered under the specified class, match the specified filter criteria, 
     * and the packages for the class names under which the services were registered.



More information about the jboss-osgi-commits mailing list