Class Invoker

java.lang.Object
jakarta.xml.ws.spi.Invoker

public abstract class Invoker extends Object
Invoker hides the detail of calling into application endpoint implementation. Container hands over an implementation of Invoker to Jakarta XML Web Services runtime, and Jakarta XML Web Services runtime calls invoke(java.lang.reflect.Method, java.lang.Object...) for a web service invocation. Finally, Invoker does the actual invocation of web service on endpoint instance. Container also injects the provided WebServiceContext and takes care of invoking jakarta.annotation.PostConstruct methods, if present, on the endpoint implementation.
Since:
1.7, JAX-WS 2.2
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    inject(WebServiceContext webServiceContext)
    Jakarta XML Web Services runtimes calls this method to ask container to inject WebServiceContext on the endpoint instance.
    abstract Object
    invoke(Method m, Object... args)
    Jakarta XML Web Services runtime calls this method to do the actual web service invocation on endpoint instance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait