Package cn.dinodev.spring.commons
Interface Scope
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
Scope.DEFAULT
scope 接口,用于定义scope范围
- Author:
- Cody Lu
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetName()scope 的名字intgetOrder()scope 顺序Scope[]higherScopes(boolean includeThis) 比自己优先级高的ScopesScope[]lowerScopes(boolean includeThis) 比自己优先级低的Scopes
-
Method Details
-
getName
String getName()scope 的名字- Returns:
-
getOrder
int getOrder()scope 顺序- Returns:
-
lowerScopes
比自己优先级低的Scopes- Parameters:
includeThis- 是否包含本Scope- Returns:
- 比自己小或等于自己排序的Scopes
-
higherScopes
比自己优先级高的Scopes- Parameters:
includeThis- 是否包含本Scope- Returns:
- 比自己大或等于自己排序的Scopes
-