Package org.bremersee.core
Class OrderedProxy
- java.lang.Object
-
- org.bremersee.core.OrderedProxy
-
@Validated public abstract class OrderedProxy extends Object
The ordered proxy.- Author:
- Christian Bremer
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
create(@NotNull Object target, int orderedValue)
Create a proxy of the target object that implementsOrdered
.
-
-
-
Method Detail
-
create
public static <T> T create(@NotNull @NotNull Object target, int orderedValue)
Create a proxy of the target object that implementsOrdered
.- Type Parameters:
T
- the type of the proxy- Parameters:
target
- the targetorderedValue
- the ordered value- Returns:
- the type of the proxy; if the target implements one or more interfaces, it must be one of these interfaces,
otherwise it must be
Ordered
-
-