Package org.apache.webbeans.invoke
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
ConstructorsConstructorDescriptionInvokerBuilderImpl(AbstractOwbBean<?> bean, jakarta.enterprise.inject.spi.AnnotatedType<X> annotatedBeanClass, jakarta.enterprise.inject.spi.AnnotatedMethod<? super X> annotatedMethod) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.enterprise.invoke.Invoker<X,?> build()static <X> voidvalidateCreateInvoker(jakarta.enterprise.inject.spi.Bean<?> bean, jakarta.enterprise.inject.spi.AnnotatedType<X> annotatedBeanClass, jakarta.enterprise.inject.spi.AnnotatedMethod<? super X> annotatedMethod) ValidatescreateInvokerpreconditions (CDI Full).jakarta.enterprise.invoke.InvokerBuilder<jakarta.enterprise.invoke.Invoker<X,?>> withArgumentLookup(int position) jakarta.enterprise.invoke.InvokerBuilder<jakarta.enterprise.invoke.Invoker<X,?>>
-
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:
withInstanceLookupin interfacejakarta.enterprise.invoke.InvokerBuilder<X>
-
withArgumentLookup
public jakarta.enterprise.invoke.InvokerBuilder<jakarta.enterprise.invoke.Invoker<X,?>> withArgumentLookup(int position) - Specified by:
withArgumentLookupin interfacejakarta.enterprise.invoke.InvokerBuilder<X>
-
build
- Specified by:
buildin interfacejakarta.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) ValidatescreateInvokerpreconditions (CDI Full).
-