Class JdkProxyHint.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • proxiedInterfaces

      public JdkProxyHint.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 JdkProxyHint.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 JdkProxyHint build()
      Create a JdkProxyHint based on the state of this builder.
      Returns:
      a jdk proxy hint