[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-746) Split API, SPI and private classes into separate packages

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri Jul 1 14:13:53 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42745#action_42745 ] 

Emmanuel Bernard commented on HSEARCH-746:
------------------------------------------

engine done 
event done

TODO
* SearchFactoryImplementor probably needs some rethinking to possibly move it from spi to impl
* EventListenerRegister should go away with Hibernate 4 (but for 3.6 it's an SPI (moving it would break Hibernate 3.6 though)

> Split API, SPI and private classes into separate packages
> ---------------------------------------------------------
>
>                 Key: HSEARCH-746
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-746
>             Project: Hibernate Search
>          Issue Type: New Feature
>          Components: analyzer, directory provider, documentation, engine, integration, mapping, massindexer, optimizer, query
>            Reporter: Emmanuel Bernard
>            Assignee: Emmanuel Bernard
>             Fix For: 4.0.0.Alpha1
>
>
> API should go into a functionally named package
> SPI should go into a functionally named package .spi eg org.hibernate.search.bridge.spi
> private classes should go into a functionally named package .impl eg org.hibernate.search.bridge.impl
> Note that the distinction between API and SPI is a bit blurry and needs to be refined by the team as a whole:
>  - is it any "public" API not directly called by the user application (ie a Bridge would be SPI). That's the definition followed by the Hibernate Core team.
>  - is it any API targeted at frameworks integrating with Hibernate Search as opposed to APIs (eg SearchConfiguration)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list