Top Description Methods
jakarta.enterprise.inject.build.compatible.spi

public Interface InvokerFactory

Imports
jakarta.enterprise.invoke.InvokerBuilder, jakarta.enterprise.lang.model.declarations.MethodInfo

Factory for InvokerBuilders.
Since
4.1

Method Summary

Modifier and TypeMethod and Description
public InvokerBuilder<InvokerInfo>

Returns:

the invoker builder, never null
createInvoker
(BeanInfo
target bean of the invoker, must not be null
bean
,
MethodInfo
target method of the invoker, must not be null
method
)

Returns a new InvokerBuilder for given method of given bean.

Method Detail

createInvokerback to summary
public InvokerBuilder<InvokerInfo> createInvoker(BeanInfo bean, MethodInfo method)

Returns a new InvokerBuilder for given method of given bean. The builder eventually produces an opaque representation of the generated invoker.

If an invoker may not be built for given bean or for given method, an exception is thrown.

Parameters
bean:BeanInfo

target bean of the invoker, must not be null

method:MethodInfo

target method of the invoker, must not be null

Returns:InvokerBuilder<InvokerInfo>

the invoker builder, never null