KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > impl > model > pipeline > PipelineModel


1 /*
2  * $Id: PipelineModel.java 3798 2006-11-04 04:07:14Z aperepel $
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 MuleSource MPL
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 /**
19  * todo document
20  *
21  * @author <a HREF="mailto:ross.mason@symphonysoft.com">Ross Mason</a>
22  * @version $Revision: 3798 $
23  */

24 public class PipelineModel extends AbstractModel
25 {
26     protected UMOComponent createComponent(UMODescriptor descriptor)
27     {
28         return new PipelineComponent((MuleDescriptor)descriptor, this);
29     }
30
31     /**
32      * Returns the model type name. This is a friendly identifier that is used to
33      * look up the SPI class for the model
34      *
35      * @return the model type
36      */

37     public String JavaDoc getType()
38     {
39         return "pipeline";
40     }
41 }
42
Popular Tags