Constructor and Description |
---|
PreferredObjectSelector() |
public T select(Iterator<T> iterator)
Iterator
.
The preferred instance will be the instance annotated with Preferred
annotation with the highest weight attribute if there is any, or a non
annotated class otherwise.iterator
- contains the objects to select fromCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.