Interface InvokerFactory
-
public interface InvokerFactory
Factory forInvokerBuilder
s.- Since:
- 4.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InvokerBuilder<InvokerInfo>
createInvoker(BeanInfo bean, jakarta.enterprise.lang.model.declarations.MethodInfo method)
Returns a newInvokerBuilder
for given method of given bean.
-
-
-
Method Detail
-
createInvoker
InvokerBuilder<InvokerInfo> createInvoker(BeanInfo bean, jakarta.enterprise.lang.model.declarations.MethodInfo method)
Returns a newInvokerBuilder
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 givenmethod
, an exception is thrown.- Parameters:
bean
- target bean of the invoker, must not benull
method
- target method of the invoker, must not benull
- Returns:
- the invoker builder, never
null
-
-