Coverage Report - org.mule.impl.model.seda.optimised.OptimisedSedaModel
 
Classes in this File Line Coverage Branch Coverage Complexity
OptimisedSedaModel
0%
0/3
N/A
1
 
 1  
 /*
 2  
  * $Id: OptimisedSedaModel.java 7976 2007-08-21 14:26:13Z 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.seda.optimised;
 12  
 
 13  
 import org.mule.impl.MuleDescriptor;
 14  
 import org.mule.impl.model.seda.SedaModel;
 15  
 import org.mule.umo.UMOComponent;
 16  
 import org.mule.umo.UMODescriptor;
 17  
 
 18  
 /**
 19  
  * Same as <code>SedaModel</code> except that it assumes that components implement the Callable 
 20  
  * interface and therefore does away with the reflection and introspection on objects.
 21  
  */
 22  0
 public class OptimisedSedaModel extends SedaModel
 23  
 {
 24  
     /**
 25  
      * Returns the model type name. This is a friendly identifier that is used to
 26  
      * look up the SPI class for the model
 27  
      * 
 28  
      * @return the model type
 29  
      */
 30  
     public String getType()
 31  
     {
 32  0
         return "seda-optimised";
 33  
     }
 34  
 
 35  
     protected UMOComponent createComponent(UMODescriptor descriptor)
 36  
     {
 37  0
         return new OptimisedSedaComponent((MuleDescriptor) descriptor, this);
 38  
     }
 39  
 }