[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-397?pag...
]
Emmanuel Bernard resolved HSEARCH-397.
--------------------------------------
Resolution: Fixed
Done
SearchFactoryIntegrator.addClasses(A.class, B.class);
SearchFactoryIntegrator is still experimental and primarily targeted at clients like
Infinispan.
Allow classes to be lazily added to the SearchFactory
-----------------------------------------------------
Key: HSEARCH-397
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-397
Project: Hibernate Search
Issue Type: New Feature
Components: engine
Reporter: Emmanuel Bernard
Fix For: 3.3.0
Assigning Sanne to pick his interest ;)
Infinispan needs a way to add new classes lazily, ie after the SearchFactory
initialization. Today's initialization cannot ensure that because we assume a single
thread inits everything before freezing the state and then support multiple thread.
We need to explore the idea of making the configuration mutable but not suffering too
much of the thread-safety implications.
We also should allow to remove a class from the configuration.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira