public abstract class OrderUtils
extends java.lang.Object
Order
アノテーションと Priority
EE を処理します。Order
, Priority
EEコンストラクターと説明 |
---|
OrderUtils() |
修飾子と型 | メソッドと説明 |
---|---|
static java.lang.Integer | getOrder(java.lang.Class<?> type) 指定された type のオーダーを返します。 |
static int | getOrder(java.lang.Class<?> type, int defaultOrder) 指定された type の順序を返すか、見つからない場合は指定されたデフォルト値を返します。 |
static java.lang.Integer | getOrder(java.lang.Class<?> type, java.lang.Integer defaultOrder) 指定された type の順序を返すか、見つからない場合は指定されたデフォルト値を返します。 |
static java.lang.Integer | getPriority(java.lang.Class<?> type) 指定された型で宣言された javax.annotation.Priority アノテーションの値を返します。ない場合は null アノテーションを返します。 |
public static int getOrder(java.lang.Class<?> type, int defaultOrder)
type
の順序を返すか、見つからない場合は指定されたデフォルト値を返します。@Order
と @javax.annotation.Priority
を処理します。
type
- 処理する型 getPriority(Class)
@Nullable public static java.lang.Integer getOrder(java.lang.Class<?> type, @Nullable java.lang.Integer defaultOrder)
type
の順序を返すか、見つからない場合は指定されたデフォルト値を返します。@Order
と @javax.annotation.Priority
を処理します。
type
- 処理する型 getPriority(Class)
@Nullable public static java.lang.Integer getOrder(java.lang.Class<?> type)
type
のオーダーを返します。@Order
と @javax.annotation.Priority
を処理します。
type
- 処理する型 null
getPriority(Class)
@Nullable public static java.lang.Integer getPriority(java.lang.Class<?> type)
javax.annotation.Priority
アノテーションの値を返します。ない場合は null
アノテーションを返します。type
- 処理する型 null