[jboss-cvs] aop-mc-int/src/main/org/jboss/aop/microcontainer/aspects/jmx ...

Kabir Khan kkhan at jboss.com
Wed Jul 19 14:22:16 EDT 2006


  User: kkhan   
  Date: 06/07/19 14:22:16

  Modified:    src/main/org/jboss/aop/microcontainer/aspects/jmx   JMX.java
                        JMXIntroduction.java
  Log:
  [JBMICROCONT-98] Make the annotation metadata more free format
  
  Revision  Changes    Path
  1.2       +2 -2      aop-mc-int/src/main/org/jboss/aop/microcontainer/aspects/jmx/JMX.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: JMX.java
  ===================================================================
  RCS file: /cvsroot/jboss/aop-mc-int/src/main/org/jboss/aop/microcontainer/aspects/jmx/JMX.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- JMX.java	3 May 2006 14:30:10 -0000	1.1
  +++ JMX.java	19 Jul 2006 18:22:16 -0000	1.2
  @@ -25,10 +25,10 @@
    * A temporary home for this annotation interface
    * 
    * @author <a href="kabir.khan at jboss.com">Kabir Khan</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public @interface JMX 
   {
      Class exposedInterface();
  -   String name();
  +   String name() default "";
   }
  
  
  
  1.2       +2 -2      aop-mc-int/src/main/org/jboss/aop/microcontainer/aspects/jmx/JMXIntroduction.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: JMXIntroduction.java
  ===================================================================
  RCS file: /cvsroot/jboss/aop-mc-int/src/main/org/jboss/aop/microcontainer/aspects/jmx/JMXIntroduction.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- JMXIntroduction.java	3 May 2006 14:30:10 -0000	1.1
  +++ JMXIntroduction.java	19 Jul 2006 18:22:16 -0000	1.2
  @@ -39,7 +39,7 @@
    * annotations but they are not there yet, either in the integration
    * or even the basic xml parsing. 
    * @author <a href="adrian at jboss.com">Adrian Brock</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class JMXIntroduction implements Interceptor
   {
  @@ -62,7 +62,7 @@
         if (jmx != null)
         {
            String jmxName = jmx.name();
  -         if (jmxName != null)
  +         if (jmxName != null && jmxName.length() > 0)
               objectName = new ObjectName(jmxName);
         }
         
  
  
  



More information about the jboss-cvs-commits mailing list