Class InvokerBuilderImpl<X>

java.lang.Object
org.apache.webbeans.invoke.InvokerBuilderImpl<X>
All Implemented Interfaces:
jakarta.enterprise.invoke.InvokerBuilder<jakarta.enterprise.invoke.Invoker<X,?>>

public final class InvokerBuilderImpl<X> extends Object implements jakarta.enterprise.invoke.InvokerBuilder<jakarta.enterprise.invoke.Invoker<X,?>>
InvokerBuilder for portable extensions (ProcessManagedBean / ProcessSessionBean).
  • Constructor Summary

    Constructors
    Constructor
    Description
    InvokerBuilderImpl(AbstractOwbBean<?> bean, jakarta.enterprise.inject.spi.AnnotatedType<X> annotatedBeanClass, jakarta.enterprise.inject.spi.AnnotatedMethod<? super X> annotatedMethod)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.enterprise.invoke.Invoker<X,?>
     
    static <X> void
    validateCreateInvoker(jakarta.enterprise.inject.spi.Bean<?> bean, jakarta.enterprise.inject.spi.AnnotatedType<X> annotatedBeanClass, jakarta.enterprise.inject.spi.AnnotatedMethod<? super X> annotatedMethod)
    Validates createInvoker preconditions (CDI Full).
    jakarta.enterprise.invoke.InvokerBuilder<jakarta.enterprise.invoke.Invoker<X,?>>
    withArgumentLookup(int position)
     
    jakarta.enterprise.invoke.InvokerBuilder<jakarta.enterprise.invoke.Invoker<X,?>>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InvokerBuilderImpl

      public InvokerBuilderImpl(AbstractOwbBean<?> bean, jakarta.enterprise.inject.spi.AnnotatedType<X> annotatedBeanClass, jakarta.enterprise.inject.spi.AnnotatedMethod<? super X> annotatedMethod)
  • Method Details

    • withInstanceLookup

      public jakarta.enterprise.invoke.InvokerBuilder<jakarta.enterprise.invoke.Invoker<X,?>> withInstanceLookup()
      Specified by:
      withInstanceLookup in interface jakarta.enterprise.invoke.InvokerBuilder<X>
    • withArgumentLookup

      public jakarta.enterprise.invoke.InvokerBuilder<jakarta.enterprise.invoke.Invoker<X,?>> withArgumentLookup(int position)
      Specified by:
      withArgumentLookup in interface jakarta.enterprise.invoke.InvokerBuilder<X>
    • build

      public jakarta.enterprise.invoke.Invoker<X,?> build()
      Specified by:
      build in interface jakarta.enterprise.invoke.InvokerBuilder<X>
    • validateCreateInvoker

      public static <X> void validateCreateInvoker(jakarta.enterprise.inject.spi.Bean<?> bean, jakarta.enterprise.inject.spi.AnnotatedType<X> annotatedBeanClass, jakarta.enterprise.inject.spi.AnnotatedMethod<? super X> annotatedMethod)
      Validates createInvoker preconditions (CDI Full).