< prev index next >

src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/server/Invoker.java

Print this page




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.xml.internal.ws.api.server;
  27 
  28 import com.sun.istack.internal.NotNull;
  29 import com.sun.xml.internal.ws.api.message.Packet;
  30 
  31 import javax.xml.ws.Provider;
  32 import javax.xml.ws.WebServiceContext;
  33 import java.lang.reflect.InvocationTargetException;
  34 import java.lang.reflect.Method;
  35 
  36 /**
  37  * Hides the detail of calling into application endpoint implementation.
  38  *
  39  * <p>
  40  * Typical host of the JAX-WS RI would want to use
  41  * {@link InstanceResolver#createDefault(Class)} and then
  42  * use <tt>{@link InstanceResolver#createInvoker()} to obtain
  43  * the default invoker implementation.
  44  *
  45  *
  46  * @author Jitendra Kotamraju
  47  * @author Kohsuke Kawaguchi
  48  */
  49 public abstract class Invoker extends com.sun.xml.internal.ws.server.sei.Invoker {
  50     /**
  51      * Called by {@link WSEndpoint} when it's set up.
  52      *
  53      * <p>
  54      * This is an opportunity for {@link Invoker}
  55      * to do a endpoint-specific initialization process.
  56      *
  57      * @param wsc
  58      *      The {@link WebServiceContext} instance that can be injected
  59      *      to the user instances.
  60      * @param endpoint
  61      */
  62     public void start(@NotNull WSWebServiceContext wsc, @NotNull WSEndpoint endpoint) {




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package com.sun.xml.internal.ws.api.server;
  27 
  28 import com.sun.istack.internal.NotNull;
  29 import com.sun.xml.internal.ws.api.message.Packet;
  30 
  31 import javax.xml.ws.Provider;
  32 import javax.xml.ws.WebServiceContext;
  33 import java.lang.reflect.InvocationTargetException;
  34 import java.lang.reflect.Method;
  35 
  36 /**
  37  * Hides the detail of calling into application endpoint implementation.
  38  *
  39  * <p>
  40  * Typical host of the JAX-WS RI would want to use
  41  * {@link InstanceResolver#createDefault(Class)} and then
  42  * use {@link InstanceResolver#createInvoker()} to obtain
  43  * the default invoker implementation.
  44  *
  45  *
  46  * @author Jitendra Kotamraju
  47  * @author Kohsuke Kawaguchi
  48  */
  49 public abstract class Invoker extends com.sun.xml.internal.ws.server.sei.Invoker {
  50     /**
  51      * Called by {@link WSEndpoint} when it's set up.
  52      *
  53      * <p>
  54      * This is an opportunity for {@link Invoker}
  55      * to do a endpoint-specific initialization process.
  56      *
  57      * @param wsc
  58      *      The {@link WebServiceContext} instance that can be injected
  59      *      to the user instances.
  60      * @param endpoint
  61      */
  62     public void start(@NotNull WSWebServiceContext wsc, @NotNull WSEndpoint endpoint) {


< prev index next >