On Tue, Sep 22, 2009 at 2:09 PM, Niclas Hedhman <[email protected]> wrote:

> I am currently looking at the Structure-101 analysis of Qi4j Core.
> Since last time, there has been introduced additional entanglements
> that I would like to resolve before the 1.0 release, especially those
> in API and SPI, to make it squeeky clean.

Ok, untangling of API, SPI and Bootstrap is completed on my local system.

API changes

* org.qi4j.bootstrap.spi --> gone. Qi4jRuntime and
ApplicationModelFactory is moved up to .bootstrap.

* org.qi4j.spi.unitofwork has disappeared. Moved to .spi.entitystore,
which also got EntityStore and relevant exceptions from the
.spi.entity package. It seems more relevant to its actual use
(EntityStore SPI).

* org.qi4j.spi.util.json classes moved back to their original org.json
package but will remain bundled in the SPI jar.

* org.qi4j.entity.Entity no longer has a unitOfWork() method. Call
Qi4j.getUnitOfWork( entity ) instead.


Changes that probably does not affect client code

* ValueType becomes an interface, the implementations are moved to
qi4j-runtime in .types package.
   ValueType is also moved to the .property package since it is
strongly bound to PropertyType. Alternatively we could move both to a
.spi.types package.
   ValueType has received a bunch of isXyz() methods to query what
kind of ValueType it is. Also types() method has been exposed to
handle RDF Indexer, but should be worked away...

* Base64Encoder is only used for SerializedType which is now in
qi4j-runtime, so it moved there.

* org.qi4j.spi.serialization wasn't used. Removed.

* IndexingMeta removed. Not used.

* A bunch of Exceptions removed. Not used.

* CompositeLazyLoader removed. Not used.

* MapAnnotatedElement removed. Not used.

* EmptyAnnotatedElement removed. Not used.

* SideEffectInvoker removed. Not used.

Pretty sure I have forgotten something.

I am analyzing qi4j-runtime to see if it is possible to untangle some
major chunks, but that shouldn't hold up the 1.0 release, IMHO.


Cheers
-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I  live here; http://tinyurl.com/2qq9er
I  work here; http://tinyurl.com/2ymelc
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to