FileDocCategorySizeDatePackage
InvokerImpl.javaAPI DocGlassfish v2 API3919Fri May 04 22:36:10 BST 2007com.sun.enterprise.webservice

InvokerImpl

public class InvokerImpl extends com.sun.xml.ws.api.server.Invoker
Implements JAXWS's Invoker interface to call the endpoint method

Fields Summary
protected com.sun.xml.ws.api.server.Invoker
core
protected Object
invokeObject
protected WebServiceContextImpl
injectedWSCtxt
private static final boolean
jaxwsDirect
Constructors Summary
public InvokerImpl(com.sun.xml.ws.api.server.Invoker core, Object inv, WebServiceContextImpl wsc)

        this.core = core;
        this.injectedWSCtxt = wsc;
        this.invokeObject = inv;
    
Methods Summary
public voiddispose()

        core.dispose();
    
public java.lang.Objectinvoke(com.sun.xml.ws.api.message.Packet p, java.lang.reflect.Method m, java.lang.Object args)

        if(jaxwsDirect)
            return core.invoke(p,m,args);
        Object ret = null;
        if(this.invokeObject != null) {
            ret = m.invoke(this.invokeObject, args);
        }
        return ret;
    
public voidinvokeAsyncProvider(com.sun.xml.ws.api.message.Packet p, T arg, com.sun.xml.ws.api.server.AsyncProviderCallback cbak, javax.xml.ws.WebServiceContext ctxt)

        core.invokeAsyncProvider(p, arg, cbak, ctxt);
    
public TinvokeProvider(com.sun.xml.ws.api.message.Packet p, T arg)

        return core.invokeProvider(p, arg);
    
public voidstart(com.sun.xml.ws.api.server.WSWebServiceContext wsc, com.sun.xml.ws.api.server.WSEndpoint endpoint)


          
        if(this.injectedWSCtxt != null) {
            injectedWSCtxt.setContextDelegate(wsc);
        }
        core.start(injectedWSCtxt, endpoint);