mcconnell    2003/02/04 19:48:35

  Modified:    meta/src/java/org/apache/avalon/meta/info
                        StageDescriptor.java
  Log:
  Added convinience constructor.
  
  Revision  Changes    Path
  1.3       +12 -1     
avalon-sandbox/meta/src/java/org/apache/avalon/meta/info/StageDescriptor.java
  
  Index: StageDescriptor.java
  ===================================================================
  RCS file: 
/home/cvs/avalon-sandbox/meta/src/java/org/apache/avalon/meta/info/StageDescriptor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- StageDescriptor.java      29 Nov 2002 15:16:18 -0000      1.2
  +++ StageDescriptor.java      5 Feb 2003 03:48:35 -0000       1.3
  @@ -68,6 +68,17 @@
   
       /**
        * Constructor a stage descriptor without attributes.
  +     * @param classname the stage interface classname
  +     * @exception NullPointerException if the classname argument is null
  +     */
  +    public StageDescriptor( final String classname )
  +        throws NullPointerException
  +    {
  +        this( new ReferenceDescriptor( classname ), null );
  +    }
  +
  +    /**
  +     * Constructor a stage descriptor without attributes.
        * @param reference the stage interface
        * @exception NullPointerException if the reference argument is null
        */
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to