Hi,
On 12/03/2012 11:03 PM, Sivakumar Thyagarajan wrote:
> Errata:
> 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]
>
> As a clarification, An @Activation JavaBean after this change, like all
> other JavaBeans listed in Section 5.3.7.5, can have Bean Validation
> annotations placed on them.
>
> Impact:
> The example in the 1.6 spec already implements ActivationSpec. All
> implementations would have required the @Activation annotated JavaBean
> to implement the ActivationSpec interface anyway to support [1]. So
> this is not a backward incompatible change but an errata to be fixed in
> the spec.
>
> Spec impact:
> 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.
>
Agreed.
Best regards,
Jesper