Coverage Report - org.mule.module.launcher.descriptor.Preferred
 
Classes in this File Line Coverage Branch Coverage Complexity
Preferred
N/A
N/A
0
 
 1  
 /*
 2  
  * $Id: Preferred.java 19191 2010-08-25 21:05:23Z tcarlson $
 3  
  * --------------------------------------------------------------------------------------
 4  
  * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.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.module.launcher.descriptor;
 12  
 
 13  
 import java.lang.annotation.Retention;
 14  
 import java.lang.annotation.RetentionPolicy;
 15  
 
 16  
 /**
 17  
  * Provides a means to give preference to an SPI implementation over others. Use either with
 18  
  * or without a weight, in the latter case the higher the value, the stronger the preference.
 19  
  */
 20  
 @Retention(RetentionPolicy.RUNTIME)
 21  
 public @interface Preferred
 22  
 {
 23  
     int weight() default -1;
 24  
 }