public interface ResourceMethodCustomInvokerDispatchProvider
RequestDispatcher
instances.
An implementation (a service-provider) identifies itself by placing a provider-configuration file (if not already present), "com.sun.research.ws.rest.spi.invoker.ResourceMethodCustomInvokerDispatchProvider" in the resource directory META-INF/services, and including the fully qualified service-provider-class of the implementation in the file.
This interface is similar to ResourceMethodDispatchProvider
, but allows
to use a custom JavaMethodInvoker
instance, which will be used to make
the final Java method call.
Modifier and Type | Method and Description |
---|---|
RequestDispatcher |
create(AbstractResourceMethod abstractResourceMethod,
JavaMethodInvoker invoker)
Create a
RequestDispatcher for a resource method of
a resource. |
RequestDispatcher create(AbstractResourceMethod abstractResourceMethod, JavaMethodInvoker invoker)
RequestDispatcher
for a resource method of
a resource.abstractResourceMethod
- the abstract resource method.invoker
- custom Java method invoker instanceCopyright © 2016 Oracle Corporation. All Rights Reserved.