View Javadoc

1   /*
2    * $Id: PipelineModel.java 7963 2007-08-21 08:53:15Z dirk.olmes $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.impl.model.pipeline;
12  
13  import org.mule.impl.MuleDescriptor;
14  import org.mule.impl.model.AbstractModel;
15  import org.mule.umo.UMOComponent;
16  import org.mule.umo.UMODescriptor;
17  
18  public class PipelineModel extends AbstractModel
19  {
20      protected UMOComponent createComponent(UMODescriptor descriptor)
21      {
22          return new PipelineComponent((MuleDescriptor) descriptor, this);
23      }
24  
25      /**
26       * Returns the model type name. This is a friendly identifier that is used to
27       * look up the SPI class for the model
28       * 
29       * @return the model type
30       */
31      public String getType()
32      {
33          return "pipeline";
34      }
35  }