connector-spec
  1. connector-spec
  2. CONNECTOR_SPEC-3

Errata: Require @Activation annotated JavaBeans to implement ActivationSpec interface

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Labels:
      None

      Description

      As part of the EoD related changes in Connector 1.6, the spec had made it optional(in
      Section 18.7) for an ActivationSpec JavaBean to implement the
      javax.resource.spi.ActivationSpec interface. However this prevents such a JavaBean
      to be provided by the application server during endpoint
      activation/deactivation/transaction recovery as the ResourceAdapter interface
      requires the activation spec to be an instance of the ActivationSpec interface.

      ResourceAdapter.endpointActivation(MessageEndpointFactory endpointFactory, ActivationSpec spec) [1]

      To fix this, we need to remove the optional phrase in 18.7 and make it mandatory for
      a JavaBean that is annotated with the @Activation annotation to implement
      the ActivationSpec interface.

      [1] http://java.sun.com/javaee/6/docs/api/javax/resource/spi/ResourceAdapter.html#endpointActivation(javax.resource.spi.endpoint.MessageEndpointFactory,%20javax.resource.spi.ActivationSpec)

        Activity

        Hide
        Sivakumar Thyagarajan added a comment -

        Setting assignee to 'sivakumart'

        Show
        Sivakumar Thyagarajan added a comment - Setting assignee to 'sivakumart'
        Show
        Sivakumar Thyagarajan added a comment - This has been addressed in section 18.7 of http://java.net/projects/connector-spec/downloads/download/connector_1_7-candidate-draft-20130202.pdf.zip

          People

          • Assignee:
            Sivakumar Thyagarajan
            Reporter:
            Sivakumar Thyagarajan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: