You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Mark Struberg (JIRA)" <ji...@apache.org> on 2009/04/11 09:06:14 UTC

[jira] Created: (OWB-89) make MetaDataDiscoveryService independent from scannotation

make MetaDataDiscoveryService independent from scannotation 
------------------------------------------------------------

                 Key: OWB-89
                 URL: https://issues.apache.org/jira/browse/OWB-89
             Project: OpenWebBeans
          Issue Type: Improvement
    Affects Versions: M1
            Reporter: Mark Struberg
            Assignee: Mark Struberg
             Fix For: M2


currently the MetaDataDiscoveryService#getANNOTATION_DB(); returns a scannotatione id specific org.scannotation.AnnotationDB 

This could be easily made independent from scannotation by replacing  getANNOTATION_DB() with 2 functions


public  Map<String, Set<String>> getAnnotationIndex();
public  Map<String, Set<String>> getClassIndex();

I parsed through all occurrences but found no other invocations to the annotationDB. Have I missed something?

The idea behind this is that we cannot make sure that MyFaces, OpenEJB and other stuff in geronimo is using scannotation. So our goal to only have 1 class scanner in place may be reached easier if we are implementation independent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OWB-89) make MetaDataDiscoveryService independent from scannotation

Posted by "Mark Struberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OWB-89?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Struberg resolved OWB-89.
------------------------------

    Resolution: Fixed

The MetaDataDiscoveryService now doesn't contain any javassist nor scannotation import anymore.

Additionally a few variable names have been refactored to camelCase because they are no constants

> make MetaDataDiscoveryService independent from scannotation 
> ------------------------------------------------------------
>
>                 Key: OWB-89
>                 URL: https://issues.apache.org/jira/browse/OWB-89
>             Project: OpenWebBeans
>          Issue Type: Improvement
>    Affects Versions: M1
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>             Fix For: M2
>
>
> currently the MetaDataDiscoveryService#getANNOTATION_DB(); returns a scannotatione id specific org.scannotation.AnnotationDB 
> This could be easily made independent from scannotation by replacing  getANNOTATION_DB() with 2 functions
> public  Map<String, Set<String>> getAnnotationIndex();
> public  Map<String, Set<String>> getClassIndex();
> I parsed through all occurrences but found no other invocations to the annotationDB. Have I missed something?
> The idea behind this is that we cannot make sure that MyFaces, OpenEJB and other stuff in geronimo is using scannotation. So our goal to only have 1 class scanner in place may be reached easier if we are implementation independent.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.