Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-508

Dependent scope proxies are needed to wrap the build-in beans returned from the services if they are not serializable yet

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 1.1.0
    • None
    • None

    Description

      the 4 build-in beans in section 3.6 are passivation capable dependencies. However, the actual instances returned from vender's ValidatorService/SecurityService/TransactoinService some time are not serializable and could cause passivation errors.

      I would like to add dependent scope proxy around these actual instances if they are not serializable, When the references get de-serialized, a new actual instance will be retrieved from the corresponding service. Venders should be able to override this behavior by some OWB custom property.

      Attachments

        Activity

          People

            yingwang Ying Wang
            yingwang Ying Wang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: