|
Sanne Grinovero Do you have some more specific requirements to this, e.g.
-
Should there be any things be exposed as OSGi services (e.g. SearchFactory etc.)?
-
What kind of packaging do we expect, i.e. is this to support cases with all the entities in one module, or entities spread over several modules?
-
Is dynamism to be supported, should we support cases where bundles with new entities can be added at runtime etc.?
As Brett is saying, as a first step we should define the public packages. The HV pom.xml does that via a Maven plug-in, I think it can be done in the same way for Search. For cases where we instantiate user-provided classes from a given name it makes sense to allow for a classloader to be used for that being passed into the engine.
If you like we can have a more detailed discussion on IRC next week, I'd be willing to actively contribute to this effort.
|