ADF 中的有界任务流与无界任务流 [英] bounded task flow versus unbounded taskflow in ADF

查看:46
本文介绍了ADF 中的有界任务流与无界任务流的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我理解这两个任务流 - ADF 中的有界和无界.从我从书中读到的,我的理解是无界任务流可以包含 n 个有界任务流.请举例说明我们可以使用无界任务流和有界任务流的原因.

Please help me in understanding the two of these task flows - Bounded and Unbounded in ADF. From what i read from a book, my understanding is that an unbounded taskflow can contain n number of bounded task flows. Please give me example like for what reason we can use unbounded task flows and bounded task flows.

推荐答案

Taskflow 是充当 ADF 应用程序控制器的东西.它用于定义任务流或页面之间的导航.

Taskflow is something which acts as controller for an ADF application. It is used to define the navigation between taskflows or pages.

在 ADF 中,任务流有两种类型.

In ADF Taskflow is of two types.

  1. 有界 TF
  2. 无界 TF

  • 您可以保护有界 TF,但您不能保护无界 TF.
  • 您可以向有界任务流传递参数和从有界任务流中获取参数,但对于无界 TF,则不能.
  • 有界 TF 只有一个入口点,称为默认活动,但在无界 TF 中有多个入口点.
  • 您可以从另一个有界/无界 TF 调用有界 TF,但对于无界 TF,则不能.
  • 有界 TF 支持事务,但无界 TF 不支持.

无论何时您不希望您的页面受到保护,您都可以使用无界 TF.例如,考虑一个在线购物应用程序.在主页、关于我们、产品等应用程序页面中,将在一个无限制的 TF 中.但是看到您的订单历史记录,wishlist 就会受到限制.

See whenever you want your page not to be secured you can use unbounded TF. For example, consider a online shopping application. In the application pages like Home, About Us, Products will be in an unbounded TF. But seeing your order history, wishlist will come under bounded TF.

这篇关于ADF 中的有界任务流与无界任务流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆