这样,即使 Bob 当前没有使用门户(例如,他可能在阅读门户页面上新酒店的综合评价),您也可以通知他即将到来的会议。
So, you could inform Bob about an upcoming meeting, even if he is not currently working with the portal (for example, he could be reading a comprehensive review of a new hotel on a portal page).
藉由这个新的接口,开发人员可以实现service异步调用过程中的细粒度通知,但它并没有提供Callback类中的轮询机制。
This new interface allows for finer grained notifications during the asynchronous invocation of a service, but it does not provide the polling mechanism formerly found in the Callback class.
你没有必要把你已有的Spring MethodInterceptors或者其他的通知实现迁移到新的编程模型:它们仍然能工作的很好。
You don't need to migrate your existing Spring MethodInterceptors or other advice implementations to the new programming model: they will still work fine.
应用推荐