Class ResourceMethodInvoker.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • resourceMethodDispatcherFactory

        public ResourceMethodInvoker.Builder resourceMethodDispatcherFactory​(ResourceMethodDispatcherFactory resourceMethodDispatcherFactory)
        Set resource method dispatcher factory.
        Parameters:
        resourceMethodDispatcherFactory - resource method dispatcher factory.
        Returns:
        updated builder.
      • resourceMethodInvocationHandlerFactory

        public ResourceMethodInvoker.Builder resourceMethodInvocationHandlerFactory​(ResourceMethodInvocationHandlerFactory resourceMethodInvocationHandlerFactory)
        Set resource method invocation handler factory.
        Parameters:
        resourceMethodInvocationHandlerFactory - resource method invocation handler factory.
        Returns:
        updated builder.
      • injectionManager

        public ResourceMethodInvoker.Builder injectionManager​(InjectionManager injectionManager)
        Set runtime DI injection manager.
        Parameters:
        injectionManager - DI injection manager.
        Returns:
        updated builder.
      • build

        public ResourceMethodInvoker build​(ResourceMethod method,
                                           ProcessingProviders processingProviders)
        Build a new resource method invoker instance.
        Parameters:
        method - resource method model.
        processingProviders - Processing providers.
        Returns:
        new resource method invoker instance.