[
https://issues.apache.org/jira/browse/GERONIMO-5644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921192#action_12921192
]
Ivan commented on GERONIMO-5644:
--------------------------------
I prefer the idea to add some methods in the MBE, and I think some
ModuleBuilders are also required. The only problem I saw now is the scope,
especially in the WebModule builder, the scanning scopes depend on some other
scanning result. My first rough idea is to refractor our
BundleAnnotationFinder. or extends it to have a CompoundBundleAnnotationFinder,
and we could regiester some callbacks to it, and those callback classes might
have ;
a. Scope detection, like these existing filter class
b. addClass / isAccepted methods
thanks.
> Share global annotation finder among different components
> ---------------------------------------------------------
>
> Key: GERONIMO-5644
> URL: https://issues.apache.org/jira/browse/GERONIMO-5644
> Project: Geronimo
> Issue Type: Improvement
> Security Level: public(Regular issues)
> Components: deployment
> Affects Versions: 3.0
> Reporter: Ivan
> Assignee: viola.lu
> Fix For: 3.0
>
>
> Remember that I mentioned it in the past, while working at JSF integration, I
> found that the global annoation scanning is required, too.
> I am thinking that we could create a BundleAnnotationFinder for each
> application, for web application, servlet, jsf, jaxws, webbeans and jax-rs
> should be able to share the same finder, for ejb application, ejb and
> webbeans should be able to share the same finder. But there might be problems
> for the scan scope, as different components might require different scanning
> scope.
> Anothing solution is that we might provide some callback methods for
> interesting annotation, like equal scenario ( Most scanning requiremetns are
> in this scenrio), and extend scenario ( guess that webbeans ??? )
> Any comment ?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.