Package 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
Modifier and TypeMethodDescriptionvoidendInvocation(org.glassfish.api.invocation.ComponentInvocation inv) Perform post-processing for the web service endpoint invocation.Returns the application class loader associated with this web service endpoint.org.glassfish.api.invocation.ComponentInvocationStart an invocation for the EJB web service endpoint.
-
Method Details
-
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
org.glassfish.api.invocation.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(org.glassfish.api.invocation.ComponentInvocation inv) Perform post-processing for the web service endpoint invocation.
-