avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon/merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl DefaultDeploymentModel.java
Date Wed, 07 Jan 2004 12:49:42 GMT
mcconnell    2004/01/07 04:49:42

  Modified:    merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl
                        Tag: Ver_3_4 DefaultDeploymentModel.java
  Log:
  Add handler assignment implementation.
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.9.2.7   +25 -1     avalon/merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl/DefaultDeploymentModel.java
  
  Index: DefaultDeploymentModel.java
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/composition/impl/src/java/org/apache/avalon/composition/model/impl/DefaultDeploymentModel.java,v
  retrieving revision 1.9.2.6
  retrieving revision 1.9.2.7
  diff -u -r1.9.2.6 -r1.9.2.7
  --- DefaultDeploymentModel.java	6 Jan 2004 23:16:49 -0000	1.9.2.6
  +++ DefaultDeploymentModel.java	7 Jan 2004 12:49:42 -0000	1.9.2.7
  @@ -82,6 +82,12 @@
       private final DeploymentContext m_context;
   
       //--------------------------------------------------------------
  +    // muttable state
  +    //--------------------------------------------------------------
  +
  +    private Object m_handler = null;
  +
  +    //--------------------------------------------------------------
       // constructor
       //--------------------------------------------------------------
   
  @@ -160,6 +166,24 @@
       public DeploymentModel[] getProviderGraph()
       {
           return m_context.getDependencyGraph().getProviderGraph( this );
  +    }
  +
  +   /**
  +    * Set the runtime handler for the model.
  +    * @param handler the runtime handler
  +    */
  +    public void setHandler( Object handler )
  +    {
  +        m_handler = handler;
  +    }
  +
  +   /**
  +    * Get the assigned runtime handler for the model.
  +    * @return the runtime handler
  +    */
  +    public Object getHandler()
  +    {
  +        return m_handler;
       }
   
       //--------------------------------------------------------------
  
  
  

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


Mime
View raw message