geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/service MBeanMetadata.java
Date Mon, 18 Aug 2003 22:07:50 GMT
dain        2003/08/18 15:07:50

  Modified:    modules/core/src/java/org/apache/geronimo/deployment/service
                        MBeanMetadata.java
  Log:
  Added constructors to quickly initialize the metadata.
  
  Revision  Changes    Path
  1.4       +26 -1     incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/service/MBeanMetadata.java
  
  Index: MBeanMetadata.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/deployment/service/MBeanMetadata.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MBeanMetadata.java	16 Aug 2003 23:16:34 -0000	1.3
  +++ MBeanMetadata.java	18 Aug 2003 22:07:50 -0000	1.4
  @@ -79,6 +79,31 @@
       private final Set relationships = new HashSet();
       private final Set dependencies = new HashSet();
   
  +    public MBeanMetadata() {
  +    }
  +
  +    public MBeanMetadata(ObjectName name) {
  +        this.name = name;
  +    }
  +
  +    public MBeanMetadata(ObjectName name, String code) {
  +        this.name = name;
  +        this.code = code;
  +    }
  +
  +    public MBeanMetadata(ObjectName name, String code, ObjectName loaderName) {
  +        this.name = name;
  +        this.code = code;
  +        this.loaderName = loaderName;
  +    }
  +
  +    public MBeanMetadata(ObjectName name, String code, ObjectName loaderName, ObjectName
parentName) {
  +        this.name = name;
  +        this.code = code;
  +        this.loaderName = loaderName;
  +        this.parentName = parentName;
  +    }
  +
       public String getCode() {
           return code;
       }
  
  
  

Mime
View raw message