Class OrderedProxy

java.lang.Object
org.bremersee.spring.core.OrderedProxy

public abstract class OrderedProxy extends Object
The ordered proxy.
Author:
Christian Bremer
  • Method Details

    • create

      public static <T> T create(Object target, int orderedValue)
      Create a proxy of the target object that implements Ordered.
      Type Parameters:
      T - the type of the proxy
      Parameters:
      target - the target
      orderedValue - 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