[
https://issues.jboss.org/browse/SEAMFACES-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Allen updated SEAMFACES-97:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/seam/faces/pull/16
use @Requires to conditional enable TransactionPhaseListener
Add a new method, getEnabledListeners() that creates contextual instances of
listener beans that are enabled. Use this method in DelegatingPhaseListener to
retrieve the TransactionPhaseListener only if it's enabled.
The dependent classes in @Requires intentionally reference the implementation
classes, as the API classes are not sufficient to enable the feature.
> Use @Requires to conditionally disable the TransactionPhaseListener
> -------------------------------------------------------------------
>
> Key: SEAMFACES-97
> URL: https://issues.jboss.org/browse/SEAMFACES-97
> Project: Seam Faces
> Issue Type: Enhancement
> Components: Transactions & Persistence
> Affects Versions: 3.0.0.CR1
> Reporter: Dan Allen
> Assignee: Dan Allen
> Priority: Minor
> Fix For: 3.0.0.Final
>
>
> Modules should use the @Requires feature of Solder to conditionally enable
> features rather than attempting to load the dependent class explicitly.
> DelegatingPhaseListener can then check for the presence of the bean annotated
> @Requires and enable the feature based on whether it's found.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
seam-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/seam-issues