org.glassfish.ejb.api
Interface EjbEndpointFacade


public interface EjbEndpointFacade

This interface provides services needed by the web services runtime to flow an invocation through the ejb container to an EJB web service endpoint.

Author:
Kenneth Saks

Method Summary
 void endInvocation(ComponentInvocation inv)
          Perform post-processing for the web service endpoint invocation.
 ClassLoader getEndpointClassLoader()
          Returns the application class loader associated with this web service endpoint.
 ComponentInvocation startInvocation()
          Start an invocation for the EJB web service endpoint.
 

Method Detail

getEndpointClassLoader

ClassLoader getEndpointClassLoader()
Returns the application class loader associated with this web service endpoint. This class loader must be the Thread's context class loader when startInvocation() is called and must remain the Thread's context class loader until after endInvocation() returns.


startInvocation

ComponentInvocation startInvocation()
Start an invocation for the EJB web service endpoint. Once startInvocation() is called, endInvocation() must be called at some later time on the same thread. Interleaved invocations on the same thread are not allowed.

Returns:
A component invocation for this invocation. Must be passed to the corresponding endInvocation.

endInvocation

void endInvocation(ComponentInvocation inv)
Perform post-processing for the web service endpoint invocation.



Copyright © 2012 GlassFish Community. All Rights Reserved.