| Constructor and Description |
|---|
OrderUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Integer |
getOrder(Class<?> type)
Return the order on the specified
type. |
static Integer |
getOrder(Class<?> type,
Integer defaultOrder)
Return the order on the specified
type, or the specified
default value if none can be found. |
static Integer |
getPriority(Class<?> type)
Return the value of the
javax.annotation.Priority annotation set
on the specified type or null if none is set. |
public static Integer getOrder(Class<?> type)
type.
Take care of @Order and @javax.annotation.Priority.
type - the type to handlenull if none can be foundpublic static Integer getOrder(Class<?> type, Integer defaultOrder)
type, or the specified
default value if none can be found.
Take care of @Order and @javax.annotation.Priority.
type - the type to handle