Class ClassProxyHint.Builder

java.lang.Object
org.springframework.aot.hint.ClassProxyHint.Builder
Enclosing class:
ClassProxyHint

public static class ClassProxyHint.Builder extends Object
Builder for ClassProxyHint.
  • Constructor Details

  • Method Details

    • proxiedInterfaces

      public ClassProxyHint.Builder proxiedInterfaces(TypeReference... proxiedInterfaces)
      Add the specified interfaces that the proxy should implement.
      Parameters:
      proxiedInterfaces - the interfaces the proxy should implement
      Returns:
      this, to facilitate method chaining
    • proxiedInterfaces

      public ClassProxyHint.Builder proxiedInterfaces(Class<?>... proxiedInterfaces)
      Add the specified interfaces that the proxy should implement.
      Parameters:
      proxiedInterfaces - the interfaces the proxy should implement
      Returns:
      this, to facilitate method chaining
    • build

      public ClassProxyHint build()
      Create a ClassProxyHint based on the state of this builder.
      Returns:
      a class proxy hint