geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject cvs commit: incubator-geronimo/modules/kernel/src/java/org/apache/geronimo/kernel/service GeronimoAttributeInfo.java
Date Mon, 10 Nov 2003 20:38:31 GMT
djencks     2003/11/10 12:38:31

  Modified:    modules/kernel/src/java/org/apache/geronimo/kernel/service
                        GeronimoAttributeInfo.java
  Log:
  Add another constructor
  
  Revision  Changes    Path
  1.5       +18 -13    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.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- GeronimoAttributeInfo.java	6 Nov 2003 19:59:15 -0000	1.4
  +++ GeronimoAttributeInfo.java	10 Nov 2003 20:38:31 -0000	1.5
  @@ -59,7 +59,6 @@
   import javax.management.MBeanAttributeInfo;
   
   import net.sf.cglib.reflect.FastMethod;
  -import net.sf.cglib.reflect.FastClass;
   
   /**
    * Describes an attibute of a GeronimoMBean.  This extension allows the properties to be
mutable during setup,
  @@ -178,17 +177,23 @@
           this(name, true, true);
       }
   
  -    public GeronimoAttributeInfo(String name, boolean readable, boolean writable) {
  -        super("Ignore", "Ignore", null, true, true, false);
  -        this.name = name;
  -        this.readable = readable;
  -        this.writable = writable;
  -
  -        immutable = false;
  -        getterMethod = null;
  -        setterMethod = null;
  -        type = null;
  -    }
  +	public GeronimoAttributeInfo(String name, boolean readable, boolean writable) {
  +	    this(name, readable, writable, null, null);
  +	}
  +
  +	public GeronimoAttributeInfo(String name, boolean readable, boolean writable, String description,
String targetName) {
  +		super("Ignore", "Ignore", null, true, true, false);
  +		this.name = name;
  +		this.readable = readable;
  +		this.writable = writable;
  +		this.description = description;
  +		this.targetName = targetName;
  +
  +		immutable = false;
  +		getterMethod = null;
  +		setterMethod = null;
  +		type = null;
  +	}
   
   
       /**
  
  
  

Mime
View raw message