The alternative would be something like "perform a transaction," where "transaction" was either a deposit or withdrawal operation.
替代方法可能是类似于“完成交易”的用例,其中“交易”是存款或取款操作。
The alternative mechanism to using Future objects is to register a callback to the asynchronous operation. The CompletionHandler interface has two methods.
使用Future对象的替代机制,是向异步操作注册一个callback。
At least for now, wrapped operation methods are the only way to use JAXB with Axis2 code generation (but see the JAX-WS discussion, shortly, for an alternative approach).
至少在目前,封装操作方法是惟一可以将JAXB用于Axis2代码生成的方法(但请立刻参考一下JAX - WS讨论了解另一种替代方法)。
应用推荐