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 an AsyncHandler 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-provided
AsyncHandler instance and can be used to perform
application-server-specific actions in conjunction with the execution of the
AsyncHandler 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-WS
FactoryRegistry.setFactory() method.
|
Method Summary |
javax.xml.ws.AsyncHandler |
createAsyncHandlerProxy(javax.xml.ws.AsyncHandler ah)
This method is invoked by the JAX-WS runtime to allow the implementation
to provide a proxy for the specified AsyncHandler instance. |
createAsyncHandlerProxy
javax.xml.ws.AsyncHandler createAsyncHandlerProxy(javax.xml.ws.AsyncHandler ah)
throws java.lang.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:
java.lang.Exception
Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.