You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2003/07/14 06:40:45 UTC

cvs commit: avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model ModelFactory.java

mcconnell    2003/07/13 21:40:45

  Modified:    merlin/composition-spi/src/java/org/apache/avalon/composition/model
                        ModelFactory.java
  Log:
  Updated to provde model creation from a URL.
  
  Revision  Changes    Path
  1.3       +12 -1     avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model/ModelFactory.java
  
  Index: ModelFactory.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model/ModelFactory.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ModelFactory.java	9 Jul 2003 05:02:06 -0000	1.2
  +++ ModelFactory.java	14 Jul 2003 04:40:45 -0000	1.3
  @@ -51,6 +51,7 @@
   package org.apache.avalon.composition.model;
   
   import java.io.File;
  +import java.net.URL;
   
   import org.apache.avalon.composition.repository.Repository;
   import org.apache.avalon.meta.data.ContainmentProfile;
  @@ -63,6 +64,16 @@
    */
   public interface ModelFactory 
   {
  +   /**
  +    * Creation of a new root containment model.
  +    *
  +    * @param url a url of a containment profile 
  +    * @return the containment model
  +    * @exception ModelException if an error occurs during model establishment
  +    */
  +    ContainmentModel createContainmentModel( URL url ) 
  +      throws ModelException;
  +
      /**
       * Creation of a new root containment model.
       *
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org