Package org.apache.axis2.jaxws.server
Interface AsyncHandlerProxyFactory
-
- All Known Implementing Classes:
AsyncHandlerProxyFactoryImpl
public interface AsyncHandlerProxyFactoryThis interface defines the plug-point that is responsible for creating a proxy for anAsyncHandlerinstance provided by a client application as part of an async request invocation. This interface allows the plug-in implementor to create a proxy which wraps the client-providedAsyncHandlerinstance and can be used to perform application-server-specific actions in conjunction with the execution of theAsyncHandlerinstance, such as thread context migration, etc. To use this plug-point, you must define a class which implements this interface, then register your implementation with the JAX-WSFactoryRegistry.setFactory()method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncHandlercreateAsyncHandlerProxy(AsyncHandler ah)This method is invoked by the JAX-WS runtime to allow the implementation to provide a proxy for the specified AsyncHandler instance.
-
-
-
Method Detail
-
createAsyncHandlerProxy
AsyncHandler createAsyncHandlerProxy(AsyncHandler ah) throws Exception
This method is invoked by the JAX-WS runtime to allow the implementation to provide a proxy for the specified AsyncHandler instance.- Parameters:
ah- the AsyncHandler instance to be wrapped with the new proxy- Returns:
- the proxy which wraps the original AsyncHandler instance
- Throws:
Exception
-
-