dain        2003/10/24 15:45:01

  Modified:    modules/kernel/src/java/org/apache/geronimo/kernel/service
                        GeronimoAttributeInfo.java GeronimoMBeanInfo.java
                        GeronimoNotificationInfo.java
                        GeronimoOperationInfo.java
                        GeronimoParameterInfo.java
  Log:
  Added dummy arguments to constructor to placate the lame type checking in
  JMX. This type checking has been removed in the latest MX4J code but the
  chages are not available from ibiblio yet.
  
  Revision  Changes    Path
  1.2       +3 -3      
incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoAttributeInfo.java
  
  Index: GeronimoAttributeInfo.java
  ===================================================================
  RCS file: 
/home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoAttributeInfo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GeronimoAttributeInfo.java        8 Sep 2003 04:38:35 -0000       1.1
  +++ GeronimoAttributeInfo.java        24 Oct 2003 22:45:01 -0000      1.2
  @@ -163,7 +163,7 @@
        * Creates an empty mutable GeronimoAttributeInfo.
        */
       public GeronimoAttributeInfo() {
  -        super(null, null, null, true, true, false);
  +        super("Ignore", "Ignore", null, true, true, false);
           immutable = false;
           getterProxy = null;
           setterProxy = null;
  @@ -176,7 +176,7 @@
        * @param parent the GeronimoMBeanInfo that will contain this attribute
        */
       GeronimoAttributeInfo(GeronimoAttributeInfo source, GeronimoMBeanInfo 
parent) {
  -        super(null, null, null, true, true, false);
  +        super("Ignore", "Ignore", null, true, true, false);
           immutable = true;
   
           //
  
  
  
  1.2       +4 -3      
incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoMBeanInfo.java
  
  Index: GeronimoMBeanInfo.java
  ===================================================================
  RCS file: 
/home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoMBeanInfo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GeronimoMBeanInfo.java    8 Sep 2003 04:38:35 -0000       1.1
  +++ GeronimoMBeanInfo.java    24 Oct 2003 22:45:01 -0000      1.2
  @@ -97,12 +97,13 @@
       public static final String NEVER = "never";
   
       public GeronimoMBeanInfo() {
  -        super(null, null, null, null, null, null);
  +        // first aregument must be non-nul until MX4J snapshot is updated
  +        super("Ignore", null, null, null, null, null);
           immutable = false;
       }
   
       GeronimoMBeanInfo(GeronimoMBeanInfo source) {
  -        super(null, null, null, null, null, null);
  +        super("Ignore", null, null, null, null, null);
           immutable = true;
   
           //
  
  
  
  1.2       +3 -3      
incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoNotificationInfo.java
  
  Index: GeronimoNotificationInfo.java
  ===================================================================
  RCS file: 
/home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoNotificationInfo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GeronimoNotificationInfo.java     8 Sep 2003 04:38:35 -0000       1.1
  +++ GeronimoNotificationInfo.java     24 Oct 2003 22:45:01 -0000      1.2
  @@ -77,12 +77,12 @@
       private final int hashCode = System.identityHashCode(this);
   
       public GeronimoNotificationInfo() {
  -        super(null, null, null);
  +        super(null, "Ignore", null);
           immutable = false;
       }
   
       GeronimoNotificationInfo(GeronimoNotificationInfo source, 
GeronimoMBeanInfo parent) {
  -        super(null, null, null);
  +        super(null, "Ignore", null);
           immutable = true;
           name = source.name;
           description = source.name;
  
  
  
  1.2       +3 -3      
incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoOperationInfo.java
  
  Index: GeronimoOperationInfo.java
  ===================================================================
  RCS file: 
/home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoOperationInfo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GeronimoOperationInfo.java        8 Sep 2003 04:38:35 -0000       1.1
  +++ GeronimoOperationInfo.java        24 Oct 2003 22:45:01 -0000      1.2
  @@ -152,7 +152,7 @@
       private final int hashCode = System.identityHashCode(this);
   
       public GeronimoOperationInfo() {
  -        super(null, null, null, null, MBeanOperationInfo.UNKNOWN);
  +        super("Ignore", null, null, "Ignore", MBeanOperationInfo.UNKNOWN);
           immutable = false;
           methodProxy = null;
           returnType = null;
  @@ -160,7 +160,7 @@
       }
   
       GeronimoOperationInfo(GeronimoOperationInfo source, GeronimoMBeanInfo 
parent) {
  -        super(null, null, null, null, MBeanOperationInfo.UNKNOWN);
  +        super("Ignore", null, null, "Ignore", MBeanOperationInfo.UNKNOWN);
           this.immutable = true;
   
           //
  
  
  
  1.2       +3 -3      
incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoParameterInfo.java
  
  Index: GeronimoParameterInfo.java
  ===================================================================
  RCS file: 
/home/cvs/incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service/GeronimoParameterInfo.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GeronimoParameterInfo.java        8 Sep 2003 04:38:35 -0000       1.1
  +++ GeronimoParameterInfo.java        24 Oct 2003 22:45:01 -0000      1.2
  @@ -75,13 +75,13 @@
       private final Class typeClass;
   
       public GeronimoParameterInfo() {
  -        super(null, null, null);
  +        super("Ignore", "Ignore", null);
           immutable = false;
           typeClass = null;
       }
   
       GeronimoParameterInfo(GeronimoParameterInfo source, 
GeronimoOperationInfo parent) {
  -        super(null, null, null);
  +        super("Ignore", "Ignore", null);
           this.immutable = true;
   
           //
  
  
  

Reply via email to