public class PriorityClasses extends Object
Constructor and Description |
---|
PriorityClasses() |
Modifier and Type | Method and Description |
---|---|
void |
add(Class<?> clazz,
int priority)
Used for Classes which are added by Beans which implement the
Prioritized interface |
void |
add(Class<?> clazz,
Priority priority)
Used for Classes which are annotated with @Priority
|
void |
clear() |
boolean |
contains(Class<?> beanType) |
OptionalInt |
getPriority(Class<?> type) |
List<Class<?>> |
getSorted() |
public OptionalInt getPriority(Class<?> type)
public void add(Class<?> clazz, Priority priority)
public void add(Class<?> clazz, int priority)
Prioritized
interfacepublic boolean contains(Class<?> beanType)
public void clear()
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.