Coverage Report - org.mule.impl.model.seda.optimised.OptimisedSedaComponent
 
Classes in this File Line Coverage Branch Coverage Complexity
OptimisedSedaComponent
0%
0/3
N/A
1
 
 1  
 /*
 2  
  * $Id: OptimisedSedaComponent.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.SedaComponent;
 15  
 import org.mule.umo.lifecycle.InitialisationException;
 16  
 import org.mule.util.ObjectPool;
 17  
 
 18  
 /**
 19  
  * Same as <code>SedaComponent</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  
 public class OptimisedSedaComponent extends SedaComponent
 23  
 {
 24  
     /**
 25  
      * Serial version
 26  
      */
 27  
     private static final long serialVersionUID = 4710126404530397113L;
 28  
 
 29  
     /**
 30  
      * Default constructor
 31  
      */
 32  
     public OptimisedSedaComponent(MuleDescriptor descriptor, OptimisedSedaModel model)
 33  
     {
 34  0
         super(descriptor, model);
 35  0
     }
 36  
 
 37  
     // @Override
 38  
     protected ObjectPool createPool() throws InitialisationException
 39  
     {
 40  0
         return this.getPoolingProfile().getPoolFactory().createPool(descriptor, model,
 41  
             new OptimisedProxyFactory(descriptor, model), getPoolingProfile());
 42  
     }
 43  
 }