org.mule.config
Annotation Type Preferred


@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface Preferred

Provides a means to give preference to an SPI implementation over others. Use either with or without a weight, in the latter case the higher the value, the stronger the preference.


Optional Element Summary
 int weight
           
 

weight

public abstract int weight
Default:
-1


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.