[
https://issues.jboss.org/browse/CDI-47?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stuart Douglas updated CDI-47:
------------------------------
Description:
Currently the deployment will fail if an interceptor is not present, which
means that it is not conventient to use interceptors from optional modules, as
the end user will need to open up the jar file and edit the beans.xml file
manually.
Adding a required="true|false" attribute to the <interceptor> element in
beans.xml would allow an archive to specify that the interceptor is not
essential, and if it is not found it should simply be ignored.
For example, currently Seam Security has a hard dependency on Seam Persistence
because it uses the Transaction interceptor, and the deployment will fail if
Seam Persistence is not present.
was:
Currently the deployment will fail if an interceptor is not present, which
means that it is not conventient to use interceptors from optional modules, as
the end user will need to open up the jar file and edit the beans.xml file
manually.
For example, currently Seam Security has a hard dependency on Seam Persistence
because it uses the Transaction interceptor, and the deployment will fail if
Seam Persistence is not present.
> Add required attribute to <interceptor> tag in beans.xml
> ---------------------------------------------------------
>
> Key: CDI-47
> URL: https://issues.jboss.org/browse/CDI-47
> Project: CDI Specification Issues
> Issue Type: Feature Request
> Reporter: Stuart Douglas
>
> Currently the deployment will fail if an interceptor is not present, which
> means that it is not conventient to use interceptors from optional modules,
> as the end user will need to open up the jar file and edit the beans.xml file
> manually.
> Adding a required="true|false" attribute to the <interceptor> element in
> beans.xml would allow an archive to specify that the interceptor is not
> essential, and if it is not found it should simply be ignored.
> For example, currently Seam Security has a hard dependency on Seam
> Persistence because it uses the Transaction interceptor, and the deployment
> will fail if Seam Persistence is not present.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues