Package org.apache.axis2.jaxws.server
Interface AsyncHandlerProxyFactory
-
- All Known Implementing Classes:
AsyncHandlerProxyFactoryImpl
public interface AsyncHandlerProxyFactory
This interface defines the plug-point that is responsible for creating a proxy for anAsyncHandler
instance 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-providedAsyncHandler
instance and can be used to perform application-server-specific actions in conjunction with the execution of theAsyncHandler
instance, 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 AsyncHandler
createAsyncHandlerProxy(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
-
-