org.glassfish.webservices
Class InvokerImpl

java.lang.Object
  extended by com.sun.xml.ws.server.sei.Invoker
      extended by com.sun.xml.ws.api.server.Invoker
          extended by org.glassfish.webservices.InvokerImpl
Direct Known Subclasses:
EjbInvokerImpl

public class InvokerImpl
extends com.sun.xml.ws.api.server.Invoker

Implements JAXWS's Invoker interface to call the endpoint method


Field Summary
protected  com.sun.xml.ws.api.server.Invoker core
           
protected  WebServiceContextImpl injectedWSCtxt
           
protected  java.lang.Object invokeObject
           
 
Constructor Summary
InvokerImpl(com.sun.xml.ws.api.server.Invoker core, java.lang.Object inv, WebServiceContextImpl wsc)
           
 
Method Summary
 void dispose()
           
 java.lang.Object invoke(com.sun.xml.ws.api.message.Packet p, java.lang.reflect.Method m, java.lang.Object... args)
           
<T> void
invokeAsyncProvider(com.sun.xml.ws.api.message.Packet p, T arg, com.sun.xml.ws.api.server.AsyncProviderCallback cbak, javax.xml.ws.WebServiceContext ctxt)
           
<T> T
invokeProvider(com.sun.xml.ws.api.message.Packet p, T arg)
           
 void start(com.sun.xml.ws.api.server.WSWebServiceContext wsc, com.sun.xml.ws.api.server.WSEndpoint endpoint)
           
 
Methods inherited from class com.sun.xml.ws.api.server.Invoker
start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

core

protected final com.sun.xml.ws.api.server.Invoker core

invokeObject

protected final java.lang.Object invokeObject

injectedWSCtxt

protected final WebServiceContextImpl injectedWSCtxt
Constructor Detail

InvokerImpl

public InvokerImpl(com.sun.xml.ws.api.server.Invoker core,
                   java.lang.Object inv,
                   WebServiceContextImpl wsc)
Method Detail

start

public void start(com.sun.xml.ws.api.server.WSWebServiceContext wsc,
                  com.sun.xml.ws.api.server.WSEndpoint endpoint)
Overrides:
start in class com.sun.xml.ws.api.server.Invoker

dispose

public void dispose()
Overrides:
dispose in class com.sun.xml.ws.api.server.Invoker

invoke

public java.lang.Object invoke(com.sun.xml.ws.api.message.Packet p,
                               java.lang.reflect.Method m,
                               java.lang.Object... args)
                        throws java.lang.reflect.InvocationTargetException,
                               java.lang.IllegalAccessException
Specified by:
invoke in class com.sun.xml.ws.server.sei.Invoker
Throws:
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

invokeProvider

public <T> T invokeProvider(com.sun.xml.ws.api.message.Packet p,
                            T arg)
                 throws java.lang.IllegalAccessException,
                        java.lang.reflect.InvocationTargetException
Overrides:
invokeProvider in class com.sun.xml.ws.api.server.Invoker
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException

invokeAsyncProvider

public <T> void invokeAsyncProvider(com.sun.xml.ws.api.message.Packet p,
                                    T arg,
                                    com.sun.xml.ws.api.server.AsyncProviderCallback cbak,
                                    javax.xml.ws.WebServiceContext ctxt)
                         throws java.lang.IllegalAccessException,
                                java.lang.reflect.InvocationTargetException
Overrides:
invokeAsyncProvider in class com.sun.xml.ws.api.server.Invoker
Throws:
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException


Copyright © 2012 GlassFish Community. All Rights Reserved.